Boost logo

Boost :

From: David Abrahams (david.abrahams_at_[hidden])
Date: 2001-11-02 19:13:50


Hi Markus,

I believe the variant rule is only defined in boost-base.jam. Unfortunately,
the system isn't yet including that file before your Jamrules. I suggest
some Jam hackery on your part for the short-term, and participation in the
Boost.Build redesign in the long term.

===================================================
  David Abrahams, C++ library designer for hire
 resume: http://users.rcn.com/abrahams/resume.html

        C++ Booster (http://www.boost.org)
          email: david.abrahams_at_[hidden]
===================================================

----- Original Message -----
From: "Markus Schöpflin" <markus.schoepflin_at_[hidden]>
To: <boost_at_[hidden]>
Sent: Friday, November 02, 2001 10:37 AM
Subject: [boost] boost.build, how to define new variants?

> 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
>
> Info: http://www.boost.org Unsubscribe:
<mailto:boost-unsubscribe_at_[hidden]>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>


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