Ensure build_all is propagated to all modules when appropriate.
If qtbase was configured to build both debug and release versions of libraries, it makes sense for any modules we are building to do the same by default. Change-Id: Idb5f78a7414b6ed2bacf295ad01f259fca435410 Reviewed-on: http://codereview.qt-project.org/4702 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Toby Tomkins <toby.tomkins@nokia.com> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
This commit is contained in:
parent
344d9b568c
commit
86765166b9
2
configure
vendored
2
configure
vendored
@ -3247,7 +3247,7 @@ if [ "$CFG_DEBUG" = "auto" ]; then
|
||||
fi
|
||||
fi
|
||||
if [ "$CFG_DEBUG_RELEASE" = "yes" ]; then
|
||||
QMAKE_CONFIG="$QMAKE_CONFIG build_all"
|
||||
QT_CONFIG="$QT_CONFIG build_all"
|
||||
fi
|
||||
|
||||
if [ -z "$PKG_CONFIG" ]; then
|
||||
|
@ -59,6 +59,7 @@ linux*:QMAKE_LFLAGS += $$QMAKE_LFLAGS_NOUNDEF
|
||||
contains(QT_CONFIG, reduce_exports):CONFIG += hide_symbols
|
||||
unix:contains(QT_CONFIG, reduce_relocations):CONFIG += bsymbolic_functions
|
||||
contains(QT_CONFIG, largefile):CONFIG += largefile
|
||||
contains(QT_CONFIG, build_all):CONFIG += build_all
|
||||
contains(QT_CONFIG, separate_debug_info):CONFIG += separate_debug_info
|
||||
contains(QT_CONFIG, separate_debug_info_nocopy):CONFIG += separate_debug_info_nocopy
|
||||
|
||||
|
@ -2605,7 +2605,7 @@ void Configure::generateOutputVars()
|
||||
|
||||
// Other options ------------------------------------------------
|
||||
if (dictionary[ "BUILDALL" ] == "yes") {
|
||||
qmakeConfig += "build_all";
|
||||
qtConfig += "build_all";
|
||||
}
|
||||
qmakeConfig += dictionary[ "BUILD" ];
|
||||
dictionary[ "QMAKE_OUTDIR" ] = dictionary[ "BUILD" ];
|
||||
|
Loading…
Reference in New Issue
Block a user