1456b8091a
For nmake and VS projects we added the NDEBUG define for the release configuration unconditionally within the qmake generators. To undefine it, users had to use a nasty work-around. Now, define NDEBUG within the MSVC mkspecs. In order to do that we introduce the DEFINES_RELEASE and DEFINES_DEBUG variables that are merged into DEFINES in default_pre.prf. Users can unset NDEBUG by writing DEFINES -= NDEBUG in their .pro file. Note that DEFINES_RELEASE and DEFINES_DEBUG are merged in default_pre.prf in order to give extra compilers (like moc) the chance to see the fully resolved DEFINES variable. This is different from the QMAKE_CFLAGS_(DEBUG|RELEASE) variables that get merged in default_post.prf. Fixes: QTBUG-78071 Change-Id: I381770a1d2f974fbae9b09a2254e3f2fc7842b68 Reviewed-by: Kai Koehne <kai.koehne@qt.io> |
||
---|---|---|
.. | ||
mingw_make.cpp | ||
mingw_make.h | ||
msbuild_objectmodel.cpp | ||
msbuild_objectmodel.h | ||
msvc_nmake.cpp | ||
msvc_nmake.h | ||
msvc_objectmodel.cpp | ||
msvc_objectmodel.h | ||
msvc_vcproj.cpp | ||
msvc_vcproj.h | ||
msvc_vcxproj.cpp | ||
msvc_vcxproj.h | ||
winmakefile.cpp | ||
winmakefile.h |