Subject: [Boost-build] How to adjust/redefine default variants "debug", "release" and "profiling"
From: Deniz Bahadir (D.Bahadir_at_[hidden])
Date: 2009-11-11 03:13:34
I have a short question concerning the default build variants "debug", "release", and "profiling":
Is it possible to change some features for these default variants or add some new? (And how?)
I do not want to inherit these variants but instead change them directly.
For example, I like to add a preprocessor-define "DEBUG" to the debug variant, (but not to the others).
By searching this list I already found a way to change some of the default-settings by doing the following:
# Rearrange default features to our specs
import feature ;
feature.set-default runtime-debugging : off ;
However, as far as I understand, this changes the default value globally for all three default variants and it seems not to be possible to do it just for one variant. I was also not able to add a preprocessor-define (at least globally to all variants) using this mechanism.
So hopefully someone can help me.
Thanks in advance,
-- Jetzt kostenlos herunterladen: Internet Explorer 8 und Mozilla Firefox 3.5 - sicherer, schneller und einfacher! http://portal.gmx.net/de/go/atbrowser
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