Boost logo

Boost :

From: Markus Schöpflin (markus.schoepflin_at_[hidden])
Date: 2001-11-02 10:37:45


Hi all,

I tried to define a new build variant but I had no luck so far. I tried to write a Jamrules file which contained the following:

MY_COMMON_PROPERTIES =
        $(COMMON_PROPERTIES)
        <profiling>off
        <debug-symbols>on
        <threading>multi
        <runtime-link>dynamic
        <rtti>off
        <stlport-iostream>off
        <stlport-version>4.0
        ;
        
variant my-debug :
        $(MY_COMMON_PROPERTIES)
        <runtime-build>debug
        <optimization>off
        <inlining>off
        <define>_DEBUG
        ;

variant my-release :
        $(MY_COMMON_PROPERTIES)
        <runtime-build>release
        <optimization>space
        <inlining>full
        <define>NDEBUG
        ;

I tried to incove jam like this: jam -sBUILD=my-debug

Unfortunately it did not work. I got two warnings about an "unknown rule variant". So how am I supposed to define new variants?

TIA, Markus


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk