2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-14 12:42:11 +00:00
Vladimir Prus 79cd3623f4 Remove check for 'unused sources'. The check causes bogus warnings in at least
a couple of cases.

1. On Windows, DLLs are never directly linked to, so they are considered
   unused and cause a warning. There used to be special code in
   exe-target-class and lib-target-class to supress that warning, but this
   failed for unit-test, for example, since main target class for unit test
   is not related with exe-target-class. And making yet another main target
   class looks ugly.
2. A target specified via project-wide <source> or <library> property is
   added to sources for all targets, and cause a warning when it's not used.
   However, there are valid cases to ignore such sources. For example

       obj a : a.cpp : <optimization>off ;

   need to comsume any libraries.

It was not clear how to fix both problems. Further, the only case when I found
the warning to be usefull is when declaring new toolsets, and it that case it
does not add much information compared to --debug-generators output. So, let's
just kill the feature for now.


[SVN r22927]
2004-05-26 09:57:03 +00:00
2003-12-18 06:37:36 +00:00
2003-11-06 07:29:32 +00:00
2002-05-06 03:46:55 +00:00
2003-12-06 16:09:12 +00:00
2003-04-24 09:48:33 +00:00
2004-02-05 12:43:45 +00:00
Description
Mirrored via gitea-mirror
39 MiB
Languages
C++ 73.8%
Python 22.6%
C 1.6%
Batchfile 0.7%
Shell 0.6%
Other 0.6%