Boost logo

Boost-Build :

From: Johan Nilsson (r.johan.nilsson_at_[hidden])
Date: 2005-06-02 05:46:24


I just noticed (using the latest anonymous CVS version of bjam + bbv2) that
I consistently get "independent target" warnings for the xxx_cpp.rsp files
during compilation. A sample output:

...found 12 targets...
...updating 5 targets...
warning: using independent target <pbin\msvc-7.1\debug>main_cpp.rsp
msvc.compile.c++ bin\msvc-7.1\debug\main.obj bin\msvc-7.1\debug\main_cpp.rsp
main.cpp bin\msvc-7.1\debug\bjam_test.exe bin\msvc-7.1\debug\bjam_test.rsp
...updated 5 targets...

To reproduce:

- BOOST_BUILD_PATH points to the build/v2 directory
- Simple Jamfile containing "exe bjam_test : main.cpp ;"
- Empty project-root.jam file in the same directory
- main.cpp containing only the main function.

Also, note the printed <pbin\msvc-7.1\...> directory specification - why the
extra "p" at the beginning?

Another thing (unrelated): is it possible to get rid of the msvc.compile
.... etc output, and just get the unqualified name of the source file(s)
during build? That would be "main.cpp" in the above output.

// Johan


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