Boost logo

Boost-Build :

From: Sara Collins (bkhn41_at_[hidden])
Date: 2004-11-12 14:03:55


Hi, I've just started using bjam and have a question
regarding to stage rule.

For example,
(1) stage dist : hello helpers ;
(2) stage dist : hello helpers : <location>/usr/bin ;

If (1) causes the hello and helpers target to /dist
directory, can't we just have this for (2)? Why
bother using <location>?
stage /usr/bin : hello helpers ;

Also, in (2), eventhough "dist" is defined there, it's
actually not used for anything?

The only place I found the use of <location> is when
you want to have the output to go to different
directories for different toolsets.
stage dist : hello helpers
: <toolset>gcc:<location>gcc
<toolset>msvc:<location>msvc ;

Is there any other use for <location>?

And also, is there a way to have something like
stage dist : hello helpers
: <toolset>gcc:<variant>debug:<location>gcc/debug
<toolset>gcc:<variant>release:<location>gcc/release ;

And lastly, is there a way to force the compiler to
put all obj and exe files in a specified directory
instead of the default bin/toolset-name/variant/...?

Thank you in advance.
Sara

__________________________________
Do you Yahoo!?
Check out the new Yahoo! Front Page.
www.yahoo.com

 


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