Boost logo

Boost-Build :

From: David Abrahams (dave_at_[hidden])
Date: 2005-05-24 12:04:43


David Abrahams <dave_at_[hidden]> writes:

> Vladimir Prus <ghost_at_[hidden]> writes:
>
>> On Tuesday 24 May 2005 18:18, David Abrahams wrote:
>>> building from libs/python/test
>>>
>>> For some reason <define>BOOST_PYTHON_SOURCE isn't getting applied,
>>> even though it's in the target requirements for lib boost_python. Any
>>> clues?
>>
>> Could it be that <define>BOOST_PYTHON_SOURCE is hiding inside rsp
>> file?
>
> It is not.
>
>> You can check this with "bjam --v2 -n -a", I guess.
>>
>> Running "bjam -v2 -n msvc" (still on Linux), I get something like:
>>
>>
>> echo "-DBOOST_PYTHON_SOURCE" >>
>> "../../../bin.v2/libs/python/build/msvc/debug/wrapper_cpp.rsp"
>>
>> in the output.
>
>
> Hum, it seems to be there now. I swear I checked it a few hours ago
> and it wasn't.

Well, here we go again. in libs/python/test I built again, and the
.rsp in question contains only:

"..\..\..\libs\python\src\converter\type_id.cpp"

-DBOOST_ALL_NO_LIB=1
-I"..\..\.."
-I"C:\Python24\include"

and in fact here are all the commands that get generated for that
file:

response-file-1 ..\..\..\bin.v2\libs\python\test\select_from_python_test.test\msvc-7.1\debug\type_id.obj.rsp

echo "..\..\..\libs\python\src\converter\type_id.cpp" > "..\..\..\bin.v2\libs\python\test\select_from_python_test.test\msvc-7.1\debug\type_id.obj.rsp"

text-action ..\..\..\bin.v2\libs\python\test\select_from_python_test.test\msvc-7.1\debug\type_id.obj.rsp

echo. >> "..\..\..\bin.v2\libs\python\test\select_from_python_test.test\msvc-7.1\debug\type_id.obj.rsp"

echo -DBOOST_ALL_NO_LIB=1 >> "..\..\..\bin.v2\libs\python\test\select_from_python_test.test\msvc-7.1\debug\type_id.obj.rsp"
echo -I"..\..\.." >> "..\..\..\bin.v2\libs\python\test\select_from_python_test.test\msvc-7.1\debug\type_id.obj.rsp"
echo -I"C:\Python24\include" >> "..\..\..\bin.v2\libs\python\test\select_from_python_test.test\msvc-7.1\debug\type_id.obj.rsp"

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com
 

Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk