Boost logo

Boost-Build :

From: Zbynek Winkler (zwin_at_[hidden])
Date: 2003-12-18 04:15:34


Vladimir Prus wrote:
> Zbynek Winkler wrote:
>
>>Hello. I am able to compile the attached project with bjam milestone 9.1
>>but not with current cvs. The error reported is
>>
>>F:\sandbox\regression>bjam lib//test-lib
>>c:/boost-build-cvs/v2/build\targets.jam:639: in find from module targets
>>error: Unable to resolve target-id /test.cpp
>>Reference was made from project at 'lib'
>
>
> Ehm... I think that /test.cpp always meant "file test.cpp in root directory",
> so if there's no such file, error is issued. Moreover, I've just tried with
> 9.1 and get the same error. Are you sure you're not having some other
> problem?

Ok. I thought that "/test.cpp" means "file test.cpp in the directory
where project-root.jam is". Is there a way to say such a thing? And 9.1
on WinXP works this way (at least mine ;-)). This is the log:

...found 11 targets...
...updating 7 targets...
MkDir1 lib\bin
MkDir1 lib\bin\msvc
MkDir1 lib\bin\msvc\debug
msvc.compile.c++ lib\bin\msvc\debug\test.obj
test.cpp
warning: using independent target <lib/msvc/debug>test-lib.rsp
msvc.link.dll lib\bin\msvc\debug\test-lib.dll
lib\bin\msvc\debug\test-lib.lib lib\bin\msvc\debug\test-lib
.rsp
...updated 7 targets...

Zbynek

-- 
http://zw.matfyz.cz/ http://robotika.cz/
Faculty of Mathematics and Physics, Charles University, Prague, Czech 
Republic
 

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