Boost logo

Boost-Build :

From: Erik Purins (erik_at_[hidden])
Date: 2004-04-16 15:46:45


Hello readers,

I need debug compilations of a project with msvc to use the debug-store feature.
I think of this as 'when toolset is msvc and variant is debug, set debug-store
feature to database value'.

Can someone please point me to
a documented alternate syntax example
for what I need to do? I was incorrectly trying

: requirements
<toolset>msvc:<variant>debug:<debug-store>database

Using Boost.Build V2 (Milestone 9.1)
more details below.

Best regards,

-e

----
I tried
: requirements
<toolset>msvc:<variant>debug:<debug-store>database
and got errors
C:/p4root/eriks-tools/TnT/Tools/Tools/boost/tools/build/v2/build\feature.jam:679
: in feature.expand-composites from module feature
error: explicitly-specified values of non-free feature <variant> conflict
existing values: debug debug:<debug-store>database
value from expanding <variant>debug:<debug-store>database : (x:G=)
I think this means I'm not able to re-define features of debug in this manner.
although I am able to define
<variant>debug:<define>ZGE_DEBUG
and
<toolset>msvc:<cflags>"/wd4530 /w34263 /w34264 /W3"
without error.
To work around this, I tried requiring a composite feature set;
from reading msvc.jam, it seemed it might intuitively be
: requirements
<toolset>msvc/<variant>debug:<debug-store>database
which doesn't complain about syntax, but the link flag I end up with
is Z7 instead of Zi. Am I incorrectly declaring this?
 

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