Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2006-05-15 08:45:05


On Saturday 13 May 2006 22:44, Emil Dotchevski wrote:
> Here is what the documentation has to say about this:
>
> "Projects inherit all attributes (such as requirements) from their parents.
> Inherited requirements are combined with
> any requirements specified by the sub-project."
>
> I guess I incorrectly used the word "propagated" while I should have said
> "inherited". So let me perephrase my original question:
>
> Here is my setup:
>
> Jamroot
>
> +--- Jamfile 1
>
> +--- Jamfile 2
>
> + Jamfile 3
>
> And here is my problem:
>
> If I put the <cflags> that disable warnings in the project defined in
> Jamroot, or in Jamfile2, or in Jamfile3, it all works fine, and I can see
> the flags on the command line when compiling Jamfile3 .cpp files.
>
> But if I put them in Jamfile1, then they don't get *inherited*. Is this a
> bug? Am I doing something wrong?

Hard to say, please send an archived test case reproducing this problem.

- Volodya

-- 
Vladimir Prus
http://vladimir_prus.blogspot.com
Boost.Build V2: http://boost.org/boost-build2

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