Boost logo

Boost-Build :

From: Phillip Seaver (phil_at_[hidden])
Date: 2007-04-25 13:33:18


DrAnonymous wrote, on 4/25/2007 1:21 PM:
> I can't figure out how to alter Jamroot to include the includes
> directory for all the subprojects. I tried:
>
> project myTools : requirements <source>./includes ;
>
> and
>
> project myTools : requirements <include>includes ;
>
>
> Neither works and the first one has an error.
>
> Can someone please help me get this working?
>
> Thanks,
> Aaron R>
>
> PS - Should my Jamfiles always have a project entry in them? In the
> above source tree I used only a lib target in one and an exe target in
> the other.

You probably want "project myTools : build-requirements
<include>includes ;". That will affect your sub-projects' builds.
"requirements <include>includes" affects everything that *uses* the project.

You don't have to. Many of mine don't. I mainly use it when I want to
apply a build or usage requirement to all of the targets in the Jamfile.

HTH,

Phillip


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