Boost logo

Boost-Build :

Subject: Re: [Boost-build] making a <toolset> dependent target fails
From: Nogradi, Chris (Chris.Nogradi_at_[hidden])
Date: 2011-12-20 08:42:04


Try removing the toolset from one of the two aliases or maybe add:

alias src ;

Chris

-----Original Message-----
From: boost-build-bounces_at_[hidden] [mailto:boost-build-bounces_at_[hidden]] On Behalf Of Thorsten Ottosen
Sent: Thursday, December 15, 2011 6:33 AM
To: Boost.Build developer's and user's list
Subject: [Boost-build] making a <toolset> dependent target fails

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
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build

This e-mail and any attachments may contain confidential material for the sole use of the intended recipient. If you are not the intended recipient, please be aware that any disclosure, copying, distribution or use of this e-mail or any attachment is prohibited. If you have received this e-mail in error, please contact the sender and delete all copies.

Thank you for your cooperation.


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