Phillip -

I tried to use buld-requirements and it gave the following error:

error: Invalid project attribute 'build-requirements' specified  for project at '.'

I tried to search the .jam files to see if build-requirements was listed, and it didn't find it.

Thanks,
Aaron R>


On 4/25/07, Phillip Seaver <phil@apago.com> wrote:
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
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build