Extract DEFINES += NOMINMAX into common config.pri

This commit is contained in:
Igor Kushnir
2021-03-03 17:27:31 +02:00
committed by Luis Ángel San Martín
parent ca7be7cc2d
commit b0b0849cbc
4 changed files with 5 additions and 3 deletions

View File

@ -5,6 +5,8 @@
CONFIG += c++17
win32:QMAKE_CXXFLAGS += /std:c++17 #enable c++17 explicitly in msvc
DEFINES += NOMINMAX
if(unix|mingw):QMAKE_CXXFLAGS_RELEASE += -DNDEBUG
win32:msvc:QMAKE_CXXFLAGS_RELEASE += /DNDEBUG