Boost logo

Boost-Build :

Subject: [Boost-build] Alias falling through from jamroot to jamfile
From: Christian Auby (christian_at_[hidden])
Date: 2010-01-11 05:05:08


Scenario: exe is defined in Jamroot, depends on two libs, one of the
libs depend on the other lib. They are placed like this:

Jamroot
        /lib1
        /lib2

I'd like to not have to use ../lib1//lib_awesome inside lib2 as the
Jamfile for lib2 would have to change if lib1 is placed somewhere else.

Inside the Jamroot I have an alias:

alias lib_awesome : lib1//lib_awesome ;

but it doesn't carry to the Jamfile in lib2. Is there a way to do this?
That way the Jamroot would be responsible of knowing where all the libs are.

regards,

Christian


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