|
Boost-Build : |
From: Renaud Lepere (renaud.lepere_at_[hidden])
Date: 2007-11-06 08:21:05
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_metacomm/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/advanced.html#bbv2.main-target-rule-s
yntax
Putting the spaces around the ":" of conditionnal will mean something
else.
Renaud
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