Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2006-07-12 01:38:54


On Monday 10 July 2006 06:27, Ren Zhi Zhang wrote:
> I ran into some issues when "variant", "install" and "define" are used
> together. Inside my project directory is a Jamroot with the following
> (slightly edited to save space):
>
> variant package : release ;
> # some code ...
> lib $(name) : [ glob *.cpp ] ;
> # some more code ...
> install misc : $(name) : <location>/$(name) <install-type>SHARED_LIB ;
>
> I used the following commands to built "package" and all of them works as
> you would expect:
>
> bjam package
> bjam package optimization=space
> bjam package define=NDEBUG
>
> But this won't (and contrast it with with the last example from above):
>
> bjam package define=ANYTHING

Hi Ren,
can you send me a minimal self-contained project that reproduces this
behaviour? It could be a bug in Boost.Build, or it could be undersired
interaction with some other code in Jamroot you have no shown, or something
else, and it's hard to debug such kinds of problem without testcase.

In general, when reporting problems, where Boost.Build does not work the way
you want, sending a test project is always appreciated.

- Volodya

-- 
Vladimir Prus
http://vladimir_prus.blogspot.com
Boost.Build V2: http://boost.org/boost-build2

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