$include_dir="/home/hyper-archives/boost-build/include"; include("$include_dir/msg-header.inc") ?>
Subject: [Boost-build] making a <toolset> dependent target fails
From: Thorsten Ottosen (thorsten.ottosen_at_[hidden])
Date: 2011-12-15 07:32:51
Hi all,
I'm trying to compile a different set of sources depending on the toolset.
As far as I can gather, the following should work:
alias src : src/TSGuide.cpp : <toolset>msvc ;
alias src : src/TSLanguage.cpp : <toolset>gcc ;
lib CUtils : src ;
However, I get the following warnings:
error: No best alternative for CUtils/src
next alternative: required properties: <secure-stl>off
<threading>multi <toolset>msvc
not matched
next alternative: required properties: <secure-stl>off
<threading>multi <toolset>gcc
not matched
I have a Jamroot file that specifies global requirements for all my
sub-projects, an in particular the threading and secure-stl properties.
Can anybody see what I'm doing wrong?
Thanks
-Thorsten