Disable standard assert() macro in Release builds

This commit is contained in:
Igor Kushnir 2021-02-08 17:06:22 +02:00 committed by Felix Kauselmann
parent 6f182b2bb3
commit 32e1db7134

View File

@ -4,6 +4,9 @@
CONFIG += c++11
unix:QMAKE_CXXFLAGS_RELEASE += -DNDEBUG
win32:QMAKE_CXXFLAGS_RELEASE += /DNDEBUG
# check Qt version
QT_VERSION = $$[QT_VERSION]
QT_VERSION = $$split(QT_VERSION, ".")