Boost logo

Boost-Build :

From: Bojan Resnik (resnikb_at_[hidden])
Date: 2006-09-18 05:49:27


> I've run into the variant problem before. Would something like this work?
>
> feature variant-base : debug release ;
>
> variant debug : <variant-base>debug <optimization>off
> <debug-symbols>on <inlining>off <runtime-debugging>on ;
> variant release : <variant-base>release <optimization>speed
> <debug-symbols>off <inlining>full
> <runtime-debugging>off <define>NDEBUG ;
>
>
> Then, <variant-base>release would be set for <variant>release and
> <variant>profile. I've never used Qt, so I don't know if it helps with
> that problem, but it looks like it might solve the more general problem.

  I agree, this seems like a more general solution.

-- 
Bojan Resnik

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