From: Thorsten Ottosen (nesotto_at_[hidden])
Date: 2007-11-06 09:11:45
Renaud Lepere skrev:
>> lib bayesian : [ glob ../src/*.cpp ] : <define>DEZIDE_EXPORT=1
>> : <link>shared :
>> <define>DEZIDE_USE_DYNAMIC_LINKING=1 ;
>> (The docs at
>> seems to miss spaces around ":")
>> Should this not work?
> I think you should not put the spaces
> and write something like
> lib bayesian : [ glob ../src/*.cpp ]
> : <define>DEZIDE_EXPORT=1
> <link>shared:<define>DEZIDE_USE_DYNAMIC_LINKING=1 ;
> The lib rule follows the syntax.
> Putting the spaces around the ":" of conditionnal will mean something
Ok, think I got it. The lack of error messages could probably be improved.
To define two macros I have to write
Anyway, many thanks.
(I moved the _USE_DYNAMIC_LINKING macro to the Jamroot because it is
really a project wide setting.)
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