Boost logo

Boost-Build :

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


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)

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?


-- Noel

Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at