Boost logo

Boost-Build :

From: Pedro Lamarão (pedro.lamarao_at_[hidden])
Date: 2006-05-12 11:54:09


Jorge Suit Perez Ronda escreveu:
> Hello, I want to create a new feature called variety. And depending on
> the value of the variety I want that the output of the compilation will
> be created in its own directory. For example if 'variety' can take the
> values A, B or C then the output could be

[SNIP]

> the contens of A, B or C being the same as the default build structure
> of BB2
>
> is it possible? any suggestion would be appreciated.

You can achieve that by creating variants based on the standard ones,
debug-A, release-A, debug-B, release-B, debug-C, release-C.

You can declare subvariants as follows:

variant debug-A : debug : <extended requirements go here> ;

-- 
Pedro Lamarão
Desenvolvimento
Intersix Technologies S.A.
SP: (55 11 3803-9300)
RJ: (55 21 3852-3240)
www.intersix.com.br
Your Security is our Business

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