$include_dir="/home/hyper-archives/boost-build/include"; include("$include_dir/msg-header.inc") ?>
Subject: [Boost-build] Target alternatives and multiple compilers - again
From: Edward Diener (eldiener_at_[hidden])
Date: 2011-07-11 12:49:29
Ping !
I need to use target alternatives with multiple compilers so I write, as
part of my jamfile:
test-suite somelib
:
[ compile some_source.cpp ]
;
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 again with the -std=c++0x option for
the gcc compilers mentioned. Can not target alternatives be used with
multiple compilers ?