qt5base-lts/mkspecs/common/winrt_winphone
Joerg Bornemann 1456b8091a Make it possible to undefine NDEBUG for nmake and VS projects
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>
2019-09-18 08:24:38 +02:00
..
assets WinRT: Refactor icon specification usage 2015-01-13 11:29:42 +01:00
manifests/10.0 winrt: Update capability management 2017-07-03 05:32:53 +00:00
qmake.conf Make it possible to undefine NDEBUG for nmake and VS projects 2019-09-18 08:24:38 +02:00
qplatformdefs.h Updated license headers 2016-01-15 12:25:24 +00:00