Renaud Lepere skrev:
> Hi,
>
>> lib bayesian : [ glob ../src/*.cpp ] :
<define>DEZIDE_EXPORT=1
>> :
<link>shared :
>> <define>DEZIDE_USE_DYNAMIC_LINKING=1 ;
>>
>>
>> (The docs at
>> http://www.boost.org/regression-logs/cs-win32_meta
comm/doc/htm
>> l/bbv2/tutorial.html
>> 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.
> http://www.boost.org/doc/html/bbv2/advan
ced.html#bbv2.main-target-rule-s
> yntax
>
> Putting the spaces around the ":" of
conditionnal will mean something
> else.
Ok, think I got it. The lack of error messages could
probably be improved.
To define two macros I have to write
<link>shared:<define>XX=1
<link>shared:<define>YY=1
Anyway, many thanks.
-Thorsten
(I moved the _USE_DYNAMIC_LINKING macro to the Jamroot
because it is
really a project wide setting.)
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build
a>
|