Boost logo

Boost-Build :

Subject: [Boost-build] Target alternatives and multiple compilers
From: Edward Diener (eldiener_at_[hidden])
Date: 2011-07-09 10:44:00


I need to use target alternatives with multiple compilers so I write, as
part of my jamfile:

test-suite somelib_gcc
    :
         [ compile some_source.cpp
           : <cxxflags>-std=c++0x
           : some_source_gcc
         ]
    :
    <toolset>gcc-4.3.0
    <toolset>gcc-4.4.0
    <toolset>gcc-4.5.0
    <toolset>gcc-4.5.2
    <toolset>gcc-4.6.0
    ;

test-suite somelib_gcc ;

But some_source never gets compiled for the gcc compilers mentioned. Can
not target alternatives be used with multiple compilers ?


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