mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-14 08:45:36 +08:00
Some build adjustements:
* Warning flags for elevated warnings as discussed: no /W3, explicit /wd * fixed include in hotkey samples * removed outdated QMAKE_CXXFLAGS += -std=c++0x
This commit is contained in:
10
build.pri
10
build.pri
@@ -89,7 +89,6 @@ win32-g++: QMAKE_CXXFLAGS_DEBUG += -Og
|
||||
###########################
|
||||
# No FSX or FS9 for 64 bit
|
||||
###########################
|
||||
|
||||
equals(WORD_SIZE,64): BLACK_CONFIG -= FSX FS9
|
||||
|
||||
###########################
|
||||
@@ -97,8 +96,15 @@ equals(WORD_SIZE,64): BLACK_CONFIG -= FSX FS9
|
||||
###########################
|
||||
win32-msvc*:DEFINES *= _SCL_SECURE_NO_WARNINGS
|
||||
# win32-msvc*:QMAKE_CXXFLAGS *=
|
||||
|
||||
# exclude Qt lib warnings
|
||||
# win32-g++: QMAKE_CXXFLAGS += $$join(QMAKE_INCDIR_QT, " -isystem", "-isystem")
|
||||
|
||||
# swift standard warnings
|
||||
win32-msvc*:QMAKE_CXXFLAGS_WARN_ON *= /wd4351
|
||||
# win32-msvc*:QMAKE_CXXFLAGS_WARN_ON *= /Wall /W3 /wd4640 /wd4619 /wd4350 /wd4351 /wd4946
|
||||
|
||||
# elevated warnings
|
||||
# win32-msvc*:QMAKE_CXXFLAGS_WARN_ON *= /Wall /wd4640 /wd4619 /wd4350 /wd4351 /wd4946 /wd4510 /wd4820 /wd4571 /wd4625 /wd4626 /wd4127
|
||||
|
||||
################################
|
||||
# Defines for conditional compilation
|
||||
|
||||
Reference in New Issue
Block a user