Subject: Re: [Boost-build] Mixing toolsets
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2011-03-30 14:37:13
On 03/30/2011 11:24 AM, Bo Jensen wrote:
> Is it possible to use different toolsets on targets within a project ?
> Here is what I want to do :
> 1) Build some library wit say gcc
> 2) Link the lib from 1) into another target, but now build with intel
> I realize you can specify toolset in properties, but when I do that,
> it will build all dependencies with the specified toolset, which
> clearly is not what I want.
> Any hint to how to do it or other jam files doing the same,much appreciated.
Does it work if you specify gcc in the requirements
of the library and intel in the requirements of
the other target?
lib mylib : mylib.cpp : <toolset>gcc ;
exe test : test.cpp mylib : <toolset>intel ;
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