Boost logo

Boost-Build :

From: Phillip Seaver (phil_at_[hidden])
Date: 2006-09-15 09:25:02

Juergen Hunold wrote:
> Hi Bojan !
> On Friday 15 September 2006 10:18, Bojan Resnik wrote:
>> Would it be possible to tie the library to something other than
>> variant? It seems likely that people might have variants derived from
>> debug, in which case the debug version of Qt should also be used. Can
>> the library depend on something like <runtime-debugging> feature?
> Well, <runtime-debugging> is a NT-specific feature, AFAIC. So its
> basically useless on Linux. And <debug-symbols>on is used in my custom
> variant and I want a release Qt :-((
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.


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