Boost logo

Boost-Build :

From: Zbynek Winkler (zwin_at_[hidden])
Date: 2003-12-17 11:01:31


Vladimir Prus wrote:

>>I'd like the user-settings.jam to be somewhat similar to the configure
>>parametrs enabling/disabling some features of my project.
>
> I see. Again, I think your approach is good.
>
Ok. I used variables to set it

user-settings.jam:
arit = <arit>double ;

and in the main Jamfile:
exe main : main.cpp test-lib : $(arit) ;

Works great. But I've found out that I am not able to build my example
project with the library (see my previous post) just by calling 'bjam'
on the command line. It tries to build 'test-lib' with <link>shared even
though I have the project requirements set to <link>static. Have I
misunderstood the 'requirements'? [building with 'bjam main' or 'bjam
link=static' works fine, 'bjam -a' does not].

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