Treat warnings as errors only in debug builds

This commit is contained in:
Srivats P 2018-04-20 21:47:37 +05:30
parent a16eefbff4
commit f71e0929d9

View File

@ -1,2 +1,2 @@
QMAKE_CXXFLAGS += -isystem $$[QT_INSTALL_HEADERS] QMAKE_CXXFLAGS += -isystem $$[QT_INSTALL_HEADERS]
QMAKE_CXXFLAGS_WARN_ON += -Wall -W -Wextra -Werror CONFIG(debug, debug|release): QMAKE_CXXFLAGS_WARN_ON += -Wall -W -Wextra -Werror