From: Chris Drexler (CKolumbus_at_[hidden])
Date: 2003-09-04 10:20:04
after having put the right lines into the right files ...
On Thu, Sep 04, 2003 at 03:59:54PM +0400, Vladimir Prus wrote:
> I've added the following to my
> using msvc : 6.0 : "P:/Program Files/Microsoft Visual Studio/vc98" : :
> vcvars32-p.bat ;
> using msvc : intel : "P:/Program Files/Something" : : vcvars32-p.bat
> icl ;
> And then wrote the following Jamfile.
> exe a : a.cpp b ;
> obj b : b.cpp : <toolset-msvc:version>intel ;
> which tells that 'b.cpp' should be compiled with specific version.
> I've tried
> "bjam -n" and the commands look ok: i.e. there's "icl" in one of the
> compile commands.
I have something like
lib test : a.cpp b ;
obj b : b.cpp : <toolset-msvc:version>intel ;
the problem is that for a.cpp also the intel compiler is used.
Also if I define a dependency on this lib, all object files
are also compiled with the icl.
exe Test :
here, if the Jamfile in ../lib/Test contains the
lines above, Main.cpp will be compiled with icl,
and further more, all other libraries, Test2, too.
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