Ref T270, Ref T275 FSX/P3D moved the common parts of the .pro files into .pri files and included those

Remark: See also https://swift-project.slack.com/archives/G7GD2UP9C/p1528277800000196
This commit is contained in:
Klaus Basan
2018-06-06 01:14:53 +02:00
parent 78747782e4
commit f728efb3be
7 changed files with 63 additions and 155 deletions

View File

@@ -5,30 +5,20 @@ QT += core dbus network widgets
TARGET = simulatorfsxcommon
TEMPLATE = lib
SOURCES += *.cpp
HEADERS += *.h
FORMS += *.ui
CONFIG += staticlib
CONFIG += blackconfig blackmisc blackcore blackgui
DEPENDPATH += . $$SourceRoot/src
INCLUDEPATH += . $$SourceRoot/src
SOURCES += *.cpp
HEADERS += *.h
FORMS += *.ui
DESTDIR = $$DestRoot/lib
LIBS += -lsimulatorfscommon -lfsuipc -lsimulatorplugincommon
equals(WORD_SIZE,64) {
INCLUDEPATH *= $$EXTERNALSROOT/common/include/simconnect/P3D-v4.1
LIBS *= -L$$EXTERNALS_LIB_DIR/P3D-v4.1
LIBS *= -lAdvapi32
CONFIG(debug, debug|release): LIBS *= -lSimConnectDebug
else: LIBS *= -lSimConnect
}
equals(WORD_SIZE,32) {
INCLUDEPATH *= $$EXTERNALSROOT/common/include/simconnect/FSX-XPack
LIBS *= -L$$EXTERNALS_LIB_DIR/FSX-XPack
LIBS *= -lSimConnect
}
include(../fsxp3d_include.pri)
addStaticLibraryDependency(fsuipc)
addStaticLibraryDependency(simulatorplugincommon)