Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2003-11-21 07:30:54

Leaf Garland wrote:

> I'm trying to figure out how to set default project wide values for things
> like include directories but with different values for certain toolsets. At
> first I thought I could use a conditional property like this:
> project :
> requirements
> <toolset>msvc:<include>/foo/bar
> <toolset>gcc:<include>/foo_gcc/bar ;
> That doesn't seem to work, it works fine within an 'exe' target.

Strange. In my project, for example, I have


in top-level requirements and it surely works. I've just tested <tooset>/
<include> combination, and it seems to work, too.

Can you provide a test case where they do not work?
As a quick check: you don't have multiple project-root.jam files. If a
directory with Jamfile has also project-root.jam file, the Jamfile won't
inherit properties from parent.

- Volodya


Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at