Boost logo

Boost-Build :

Subject: [Boost-build] how to vary the destination directory based on <toolset> in stage rule
From: Stjepan Rajko (stjepan.rajko_at_[hidden])
Date: 2009-04-22 13:35:35


Hello,

I tried using a Jamfile with the following excerpt:

lib ofxGesture
    : $(SOURCES).cpp
    : <link>static
    ;

stage osx
    : ofxGesture
    : <toolset>darwin
    ;

stage linux
    : ofxGesture
    : <toolset>gcc
    ;

stage win
    : ofxGesture
    : <toolset>msvc
    ;

The intent was to have the destination directory depend on the
<toolset> (with only one of those stage commands executing on any of
the three toolsets), but now I realize that there are all sorts of
reasons why that's not what happens.

Could someone suggest a correct way to vary the destination directory
based on the <toolset>?

Thanks in advance,

Stjepan


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