|
Boost Users : |
From: Drumheller, Michael (michael.drumheller_at_[hidden])
Date: 2006-02-26 15:45:31
Dear Bjam Experts:
For some reason all my source files are getting compiled twice.
Below is my Jamfile (stripped to its essentials, and names changed to
protect the innocent), and below that is the output (also stripped way
down). Sorry for the clutter--I have tried to strip it down to the
minimum.
Notice how every .obj gets constructed twice. Yet the destination path
(vc-7_1\release\threading-multi\ is the same in each case; also, I'm
also invoking bjam with precisely that target specified on the command
line.
Is there anything really obvious to bjam-adjusted eyes going on here?
Thank you very much.
Michael Drumheller
----------------------------------------------------------cut here:
Jamfile---------------------------------------
project-root ;
import python ;
include python.jam ;
FOOCORE_SOURCES = File1
File2 ;
FOOCORE_SOURCES = ..\\..\\src\\$(FOOCORE_SOURCES).cpp ;
lib Foo
: $(FOOCORE_SOURCES)
: <include>C:\\Boost\\include\\boost-1_32
<vc-7_1><*><define>WIN32
<include>..\\..\\src
<include>C:\\Python24\\include
<include>"C:\\Program Files\\Microsoft Visual Studio .NET
2003\\Vc7\\include"
;
----------------------------------------------------------cut here:
resulting output ---------------------------
06-02-26:12:22:26:boost/FooBar=> bjam -sTOOLS=vc-7_1 "-sBUILD=release
<threading>multi"
...found 3088 targets...
...updating 142 targets...
vc-C++
./build\bin\FooBar\libFoo.lib\vc-7_1\release\threading-multi\File1.obj
File1.cpp
vc-C++
./build\bin\FooBar\libFoo.lib\vc-7_1\release\threading-multi\File2.obj
File2.cpp
...<snip>...
vc-Archive
./build\bin\FooBar\libFoo.lib\vc-7_1\release\threading-multi\libFoo.lib
Microsoft (R) Library Manager Version 7.10.3077
Copyright (C) Microsoft Corporation. All rights reserved.
"./build\bin\FooBar\libFoo.lib\vc-7_1\release\threading-multi\File1.obj"
"./build\bin\FooBar\libFoo.lib\vc-7_1\release\threading-multi\File2.obj"
...<snip>...
vc-C++
./build\bin\FooBar\libFoo.lib\vc-7_1\release\threading-multi\File1.obj
File1.cpp
vc-C++
./build\bin\FooBar\libFoo.lib\vc-7_1\release\threading-multi\File2.obj
File2.cpp
...<snip>...
vc-Archive
./build\bin\FooBar\libFoo.lib\vc-7_1\release\threading-multi\libFoo.lib
Microsoft (R) Library Manager Version 7.10.3077
Copyright (C) Microsoft Corporation. All rights reserved.
"./build\bin\FooBar\libFoo.lib\vc-7_1\release\threading-multi\File1.obj"
"./build\bin\FooBar\libFoo.lib\vc-7_1\release\threading-multi\File2.obj"
...<snip>...
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net