From: Jurko GospodnetiÄ (jurko.gospodnetic_at_[hidden])
Date: 2008-04-17 13:17:00
> From an action, what is the best/easiest way to get the active build
> variant (eg. debug or release)? I scanned the docs and some of the tool
> definitions, but nothing stood out. Must have missed it...
Look at the toolset.flags rule. For example, look at how the msvc
toolset module it to propagate <pch-file>, <pch-source> & <pch-header>
property values as JAM variables (PCH_FILE, PCH_SOURCE & PCH_HEADER
respectively) to msvc.compile rules/actions.
Hope this helps.
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