mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-22 14:55:36 +08:00
Minor cleanup in qmake files.
This commit is contained in:
committed by
Klaus Basan
parent
f60f46bcda
commit
c43c1458f4
@@ -8,7 +8,7 @@ OTHER_FILES += Doxyfile.qmake
|
||||
OTHER_FILES += src/*.dox
|
||||
OTHER_FILES += src/wiki/*.dox
|
||||
|
||||
win32: DOXYGEN_BIN = $$system(where doxygen)
|
||||
win32: DOXYGEN_BIN = $$system($$(SYSTEMROOT)\system32\where doxygen)
|
||||
else: DOXYGEN_BIN = $$system(which doxygen)
|
||||
|
||||
isEmpty(DOXYGEN_BIN) {
|
||||
|
||||
@@ -58,21 +58,17 @@ contains(TEMPLATE, "vc.*"): QMAKE_CXXFLAGS *= /MP
|
||||
################################
|
||||
|
||||
contains(BLACK_CONFIG, ProfileRelease) {
|
||||
win32-msvc* {
|
||||
msvc {
|
||||
QMAKE_CXXFLAGS_RELEASE *= /Zi
|
||||
QMAKE_LFLAGS_RELEASE *= /DEBUG /PROFILE /INCREMENTAL:NO /OPT:REF /OPT:ICF
|
||||
}
|
||||
}
|
||||
|
||||
# Needed to workaround C1128 error
|
||||
# TODO check whether this is still needed after CValueObject refactoring
|
||||
win32-msvc*: QMAKE_CXXFLAGS *= /bigobj
|
||||
|
||||
################################
|
||||
# No incremental build
|
||||
# Workaround C1128 error
|
||||
################################
|
||||
|
||||
# win32-msvc*:QMAKE_LFLAGS_DEBUG *= /INCREMENTAL:NO
|
||||
msvc: QMAKE_CXXFLAGS *= /bigobj
|
||||
|
||||
################################
|
||||
# No gigantic MinGW obj files
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
win32-msvc* {
|
||||
win32:contains(QMAKE_TARGET.arch, x86_64) {
|
||||
msvc {
|
||||
contains(QMAKE_TARGET.arch, x86_64) {
|
||||
WORD_SIZE = 64
|
||||
}
|
||||
else {
|
||||
|
||||
@@ -41,7 +41,7 @@ LIBS *= -lvatlib
|
||||
DESTDIR = $$DestRoot/lib
|
||||
DLLDESTDIR = $$DestRoot/bin
|
||||
|
||||
win32-msvc* {
|
||||
msvc {
|
||||
CONFIG(debug, debug|release): LIBS *= -lcrashpad_clientd -lcrashpad_utild -lbased -lRpcrt4
|
||||
CONFIG(release, debug|release): LIBS *= -lcrashpad_client -lcrashpad_util -lbase -lRpcrt4
|
||||
}
|
||||
|
||||
@@ -44,14 +44,14 @@ HEADERS -= libxplanemp/src/PlatformUtils.h
|
||||
|
||||
# Externals required by libxplanemp
|
||||
CONFIG += opengl
|
||||
win32-msvc* {
|
||||
msvc {
|
||||
CONFIG(debug, debug|release): LIBS += -lpngd -lzd -lopengl32 -lglu32
|
||||
CONFIG(release, debug|release): LIBS += -lpng -lz -lopengl32 -lglu32
|
||||
}
|
||||
else:win32: LIBS += -lpng -lz -lopengl32 -lglu32
|
||||
else: LIBS += -lpng -lz
|
||||
|
||||
win32-msvc*: DEFINES += _CRT_SECURE_NO_WARNINGS
|
||||
msvc: DEFINES += _CRT_SECURE_NO_WARNINGS
|
||||
|
||||
# Required by X-Plane SDK and libxplanemp
|
||||
win32:DEFINES += IBM=1
|
||||
|
||||
Reference in New Issue
Block a user