diff options
author | Friedemann Kleint <Friedemann.Kleint@nokia.com> | 2011-11-17 10:37:24 +0100 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2011-11-17 11:29:37 +0100 |
commit | 8351906ad1ad62c6c279e71f8776520a8128f132 (patch) | |
tree | 3150cafead19c7e9a18165bd7cc308fbddd0775d /tools/configure/configureapp.cpp | |
parent | 6382d27abd3edcfab0e77fa3568ff5312a7d86c0 (diff) |
Windows: Add -force-asserts to configure.exe
Change-Id: I678011f0e60d74a1b2d63a18570778e1f686f123
Reviewed-by: Harald Fernengel <harald.fernengel@nokia.com>
Diffstat (limited to 'tools/configure/configureapp.cpp')
-rw-r--r-- | tools/configure/configureapp.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/tools/configure/configureapp.cpp b/tools/configure/configureapp.cpp index 2ddc050fe3..2bd129139c 100644 --- a/tools/configure/configureapp.cpp +++ b/tools/configure/configureapp.cpp @@ -508,6 +508,10 @@ void Configure::parseCmdLine() else if (configCmdLine.at(i) == "-no-mp") { dictionary[ "MSVC_MP" ] = "no"; } + else if (configCmdLine.at(i) == "-force-asserts") { + dictionary[ "FORCE_ASSERTS" ] = "yes"; + } + #endif @@ -1264,6 +1268,8 @@ void Configure::parseCmdLine() if (dictionary["BUILDDEV"] == "yes") qtConfig += "private_tests"; + if (dictionary["FORCE_ASSERTS"] == "yes") + qtConfig += "force_asserts"; #if !defined(EVAL) for (QStringList::Iterator dis = disabledModules.begin(); dis != disabledModules.end(); ++dis) { @@ -1655,7 +1661,7 @@ bool Configure::displayHelp() desc("OPENVG", "yes","-openvg", "Enables OpenVG functionality"); desc( "", "Requires EGL support, typically supplied by an OpenGL", false, ' '); desc( "", "or other graphics implementation\n", false, ' '); - + desc( "-force-asserts", "Activate asserts in release mode.\n"); #endif desc( "-platform <spec>", "The operating system and compiler you are building on.\n(default %QMAKESPEC%)\n"); desc( "-xplatform <spec>", "The operating system and compiler you are cross compiling to.\n"); |