Boost logo

Boost-Build :

From: David Abrahams (dave_at_[hidden])
Date: 2004-06-16 14:24:46


"Mark Elston" <m.elston_at_[hidden]> writes:

> Ah, I begin to see. I haven't seen the references to <variant>debug
> or <toolset>gcc in the docs (are they there?).
>
> With that mechanism in place I see why things are the way they are.
> There is nothing really *magic* happening. There are just some
> shortcuts (saving keystrokes). If we were to write scripts to use
> bjam and wanted to "fully" document the scripts we could modify
> the command-line I gave below like this:
>
> bjam <variant>debug <variant>release <toolset>msvc <toolset>gcc MyTarget

'<' and '>' don't work well on the command-line of most shells because
they have another meaning. As I tried to tell you, the syntax for
BBv2 on the command-line uses '=':

bjam variant=debug variant=release toolset=msvc toolset=gcc MyTarget

There's also a shortcut like this:

bjam variant=debug,release toolset=msvc,gcc MyTarget

-- 
Dave Abrahams
Boost Consulting
http://www.boost-consulting.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