Boost logo

Boost-Build :

From: K. Noel Belcourt (kbelco_at_[hidden])
Date: 2007-02-21 15:59:13


Hi,

Does anyone know of a way to specify a different set of <linkflags>
to a toolset conditionally? I've tried this example below but it
doesn't work. I'd hate to have to touch every toolset.jam file in
order to put in logic to handle conditional properties, but I could.

using gcc
   : 3.4.3
   : $(mpiCC)
   : <runtime-link>shared:<linkflags>$(gnu-fortran-libraries)
     <runtime-link>static:<linkflags>$(gnu-static-fortran-libraries)
   ;

Our gcc builds need to link different sets of libraries based on
whether we're linking a static or shared runtime.

Any ideas if / how this could be done or do I need to touch each
toolset to parse out the conditional properties manually?

Thanks.

-- Noel


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