Email lists > Boost Build System > Re: [Boost-build] conditional requirement broken? > Re: [Boost-build] conditional requirement broken?

Re: [Boost-build] conditional requirement broken?




This post if a part of  this thread

2007-11-06 07:21:05
Re: conditional requirement broken?
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.

Renaud
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build

about | contact  Other archives ( Real Estate discussion Medical topics )