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

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].


Faculty of Mathematics and Physics, Charles University, Prague, Czech 

Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at