Boost logo

Boost-Build :

Subject: Re: [Boost-build] Global headers across projects
From: Alexander Sack (pisymbol_at_[hidden])
Date: 2008-10-15 10:11:09


On Tue, Oct 14, 2008 at 3:38 PM, Steven Watanabe <watanabesj_at_[hidden]> wrote:
> AMDG
>
> Alexander Sack wrote:
>>
>> alias common_headers : : : <include>h1_dir <include>h2_dir>;
>>
>> However I can't use this in my Jamroot's project definition as a
>> requirement a la:
>>
>> project myproj
>> : requirements common_headers
>> ;
>>
>
> project myproj : requirements <source>common_headers ;
>
>> constant some_headers : <include>blah blah etc.

Still does not work - I tried this btw:

error: Unable to find file or target named
error: 'common_headers'
error: referred from project at
error: <somepath>

So my project hierarchy looks like this:

myproj/Jamroot
myproj/liba/Jamfile
myproj/liba/subcomponentA/Jamfile

I'm calling bjam against myproj/liba/Jamfile which calls build-project
subcomponentA ; etc.

I'm assuming that all sub projects in my hierarchy inherit
requirements from Jamroot right?

-aps


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