|
Boost-Build : |
From: muchacho_30 (aachkar_at_[hidden])
Date: 2004-12-21 15:10:38
The documentation of 'project' is not very clear. There are separate
examples of 'requirements' and 'usage-requirements' but no example of
using both together.
Is the syntax:
project lib : requirements ... : usage-requirements ...
or:
project lib : requirements ... usage-requirements ...
What I mean is do I need the colon to separate 'requirements' from
'usage-requirements' ?
I tried both.
1) Without the colon, I get an error.
2) with the colon, the dependent target on this library doesn't seem
to get the usage-requirements. It should get -I"c:/icc/include" added
to its compiler options, but it doesn't.
Here's my Jamfile:
#===============================
project /lib-nvm :
requirements <include>c:/icc/include
:
usage-requirements <include>c:/icc/include
;
lib nvm : nvm.c ;
#==================================
Thanks!
Alain.
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