Boost logo

Boost-Build :

From: Zbynek Winkler (zwin_at_[hidden])
Date: 2004-04-07 02:24:47


For some time I have the line 1072 commented out because it fires when I
see no reason to.

..../v2/build\targets.jam:1072: in check-for-unused-sources from module
warning: Unused source { } in main
target ../controller/test

The target ../controller/test is a "unit-test" and it does not work
without the cppunit library so the source is not "unused". Am I doing
something work or is it a bug? The target definition looks like this

unit-test test : $(SRC).cpp $(SRC)Test.cpp /site-config//cppunit

and the cppunit definition I've given before in the "Build properties
algorithm" thread.


Faculty of Mathematics and Physics, Charles University, Prague, Czech Republic

Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at