Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2004-12-22 02:27:51


On Tuesday 21 December 2004 23:10, muchacho_30 wrote:
> 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 ...

This one is correct.

> 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 ;
> #==================================

Should be working. Could you post a complete self-contained testcase that
exposes the problem, as archive file?

- Volodya

 


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