diff --git a/src/Common/Common.pro b/src/Common/Common.pro index 8b291c8c..a00adb96 100644 --- a/src/Common/Common.pro +++ b/src/Common/Common.pro @@ -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 } diff --git a/src/Core/Core.pro b/src/Core/Core.pro index db752fa6..0fc38a4f 100644 --- a/src/Core/Core.pro +++ b/src/Core/Core.pro @@ -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 } diff --git a/src/Editor/Editor.pro b/src/Editor/Editor.pro index 43009514..be567953 100644 --- a/src/Editor/Editor.pro +++ b/src/Editor/Editor.pro @@ -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 } diff --git a/src/Math/Math.pro b/src/Math/Math.pro index ed9d6f60..1966ed70 100644 --- a/src/Math/Math.pro +++ b/src/Math/Math.pro @@ -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 }