Boost logo

Boost-Build :

From: Juergen Hunold (hunold_at_[hidden])
Date: 2006-09-15 03:11:08

Hi !

My colleagues have discovered some difficulties using the Qt4 toolset
and our custom build variant.

We've created a custom build variant like this:

# define custom variant
# - without NDEBUG defined (with assert())
# - with debug-symbols
variant custom : <optimization>speed
                 <runtime-debugging>off ;

This enables quick runs with all asserts() triggering and a minimal
backtrace. Enough to get large logfiles very quickly ;-))

I've attached a simple testcase.

The problem is that the current Qt4 toolset provides two alternatives
for "release" and "debug".

When running the testcase, I get errors like

error: No best alternative for /QtCore
    next alternative: required properties: <variant>release
        not matched
    next alternative: required properties: <variant>debug
        not matched

so it seems to be a good idea to default to "release" when using another
(full message in custom/error.txt in testcase archive).

The attached patch removes the explicit "<variant>release" from the
declaration of the release libraries.
I'd like to apply the patch to both HEAD and RC_1_34_0.

Okay to proceed ?

Trolltech disabled support for building parallelel debug and release
variants with 4.2.0rc1.
I think we have to think about the toolset in 1.35.0 or maybe
earlier :-((



* Dipl.-Math. Jürgen Hunold  ! Ingenieurgesellschaft für 
* voice: ++49 511 262926 57  ! Verkehrs- und Eisenbahnwesen mbH  
* fax  : ++49 511 262926 99  ! Lister Straße 15
* juergen.hunold_at_[hidden]   !

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