Moved /WX flag in the .pro files into a win32 block

This commit is contained in:
Aruki 2017-07-12 00:22:04 -06:00
parent 097ab23687
commit 31dec78050
4 changed files with 4 additions and 4 deletions

View File

@ -5,7 +5,6 @@
#-------------------------------------------------
QT -= core gui
QMAKE_CXXFLAGS += /WX
DEFINES += PWE_COMMON
CONFIG += staticlib
@ -14,6 +13,7 @@ DESTDIR = $$BUILD_DIR/Common
unix {
target.path = /usr/lib
QMAKE_CXXFLAGS += /WX
INSTALLS += target
}

View File

@ -5,7 +5,6 @@
#-------------------------------------------------
QT -= core gui
QMAKE_CXXFLAGS += /WX
DEFINES += PWE_CORE
CONFIG += staticlib
@ -15,6 +14,7 @@ DEFINES += GLEW_STATIC
unix {
target.path = /usr/lib
QMAKE_CXXFLAGS += /WX
INSTALLS += target
}

View File

@ -5,11 +5,11 @@
#-------------------------------------------------
QT += core gui opengl widgets
QMAKE_CXXFLAGS += /WX
DEFINES += PWE_EDITOR
RESOURCES += Icons.qrc
win32: {
QMAKE_CXXFLAGS += /WX
RC_ICONS += icons/AppIcon.ico
QT += winextras
}

View File

@ -5,7 +5,6 @@
#-------------------------------------------------
QT -= core gui
QMAKE_CXXFLAGS += /WX
DEFINES += PWE_MATH
CONFIG += staticlib
@ -14,6 +13,7 @@ DESTDIR = $$BUILD_DIR/Math
unix {
target.path = /usr/lib
QMAKE_CXXFLAGS += /WX
INSTALLS += target
}