Treat warnings as errors only in debug builds
This commit is contained in:
parent
a16eefbff4
commit
f71e0929d9
@ -1,2 +1,2 @@
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user