qt5base-lts/mkspecs/common
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
..
aix Stop including net/if.h from qplatformdefs.h 2017-10-08 06:41:24 +00:00
android Add QIODevice::NewOnly and QIODevice::ExistingOnly OpenMode flags 2018-01-17 04:32:47 +00:00
bsd Stop including net/if.h from qplatformdefs.h 2017-10-08 06:41:24 +00:00
c89
integrity Stop including net/if.h from qplatformdefs.h 2017-10-08 06:41:24 +00:00
mac Stop including net/if.h from qplatformdefs.h 2017-10-08 06:41:24 +00:00
nacl
posix Add QIODevice::NewOnly and QIODevice::ExistingOnly OpenMode flags 2018-01-17 04:32:47 +00:00
qnx Stop including net/if.h from qplatformdefs.h 2017-10-08 06:41:24 +00:00
uikit
winrt_winphone Make it possible to undefine NDEBUG for nmake and VS projects 2019-09-18 08:24:38 +02:00
android-base-head.conf Android: Nuke mips architectures 2019-05-06 08:01:04 +00:00
android-base-tail.conf Android: Fix x86_64 linking 2019-05-06 06:42:23 +00:00
angle.conf Restore behavior of using libEGL and libGLESv2 as default for angle 2017-05-11 08:35:54 +00:00
clang-mac.conf
clang.conf Add qmake support for c++2a 2019-04-19 08:14:25 +00:00
g++-base.conf Add qmake support for c++2a 2019-04-19 08:14:25 +00:00
g++-macx.conf
g++-unix.conf
g++-win32.conf qmake: enable rtti config option for g++/clang 2018-12-13 20:51:39 +00:00
g++.conf
gcc-base-mac.conf
gcc-base-unix.conf Add llvm linker detection to configure 2019-02-06 22:11:22 +00:00
gcc-base.conf qmake: enable rtti config option for g++/clang 2018-12-13 20:51:39 +00:00
ghs-base.conf Remove QMAKE_LIBS_CORE variable 2017-08-28 13:10:38 +00:00
ghs-integrity-armv7.conf
ghs-integrity-armv8.conf Speculative fix for building on INTEGRITY with ARM NEON 2019-03-29 13:06:12 +00:00
ghs-integrity-x86.conf
icc-base-unix.conf Update the ICC x86 sub-architecture compiler options 2018-06-23 20:16:35 +00:00
ios.conf
linux.conf Merge remote-tracking branch 'origin/5.9' into dev 2017-08-31 14:31:31 +02:00
llvm.conf
mac.conf Fix determination of OpenGL include paths on macOS, take 3 2019-04-27 07:32:53 +00:00
macx.conf macOS: Whitelist the 10.15 SDK for building Qt and applications 2019-08-20 15:07:43 +02:00
msvc-based-version.conf Fix build with win32-clang-msvc and win32-icc 2018-12-14 18:20:26 +00:00
msvc-desktop.conf Make it possible to undefine NDEBUG for nmake and VS projects 2019-09-18 08:24:38 +02:00
msvc-version.conf Add qmake support for c++2a 2019-04-19 08:14:25 +00:00
qcc-base-qnx-aarch64le.conf
qcc-base-qnx-armle-v7.conf
qcc-base-qnx-x86-64.conf
qcc-base-qnx-x86.conf
qcc-base-qnx.conf qmake: add support for mkspecs which don't support strict_c++ 2018-04-05 18:55:46 +00:00
qcc-base.conf Merge remote-tracking branch 'origin/5.9' into dev 2017-06-19 16:12:34 +02:00
sanitize.conf
shell-unix.conf
shell-win32.conf
solaris.conf Remove unused mkspecs variable QMAKE_LIBS_NIS 2017-08-28 13:10:44 +00:00
tvos.conf
uikit.conf
unix.conf
watchos.conf
windows-desktop.conf Enable users to specify WindowsTargetPlatform[Min]Version in VS projects 2018-11-16 10:55:16 +00:00
windows-vulkan.conf Resolve QMAKE_INCDIR_VULKAN on every qmake call 2019-05-05 13:15:37 +00:00