Boost logo

Boost-Build :

From: Daniel Lidström (daniel.lidstrom_at_[hidden])
Date: 2006-10-19 08:08:04


Hello!

I'm trying to specify alternatives depending the version of a specific
toolset. For example:

lib demangler : dummy_demangler.cpp ; # alternative 1
lib demangler : demangler_gcc.cpp : <toolset>gcc-4.1.1 ; # alternative 2
lib demangler : demangler_msvc.cpp : <toolset>msvc ; # alternative 3

exe test : main.cpp demangler ;

My user-config has these toolsets:

using gcc : 4.1.1 : /usr/bin/g++ ;

It doesn't seem to work. The alternativ 1 is being built:

aeon:/home/daniel/programming/test> bjam
...found 14 targets...
...updating 3 targets...
gcc.compile.c++ bin/gcc-4.1.1/debug/dummy_demangler.o
gcc.link.dll bin/gcc-4.1.1/debug/libdemangler.so
gcc.link bin/gcc-4.1.1/debug/test
...updated 3 targets...

Is it possible to specify alternative depending on toolset version?

Hälsningar,
Daniel
SBG AB

Phone: +4687112090
Fax : +4687112098
Location:
       59 14'10" N
       18 00'09" E


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