mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-02 23:25:53 +08:00
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:
@@ -1,37 +1,11 @@
|
||||
load(common_pre)
|
||||
|
||||
REQUIRES += contains(BLACK_CONFIG,FSX)
|
||||
|
||||
QT += core dbus widgets
|
||||
|
||||
TARGET = simulatorfsx
|
||||
TEMPLATE = lib
|
||||
|
||||
CONFIG += plugin shared
|
||||
CONFIG += blackconfig blackmisc blackcore blackgui
|
||||
|
||||
DEPENDPATH += . $$SourceRoot/src
|
||||
INCLUDEPATH += . $$SourceRoot/src
|
||||
INCLUDEPATH *= $$EXTERNALSROOT/common/include/simconnect/FSX-XPack
|
||||
SOURCES += *.cpp
|
||||
HEADERS += *.h
|
||||
|
||||
REQUIRES += contains(BLACK_CONFIG,FSX)
|
||||
TARGET = simulatorfsx
|
||||
DISTFILES += simulatorfsx.json
|
||||
DESTDIR = $$DestRoot/bin/plugins/simulator
|
||||
|
||||
LIBS *= -L$$EXTERNALS_LIB_DIR/FSX-XPack
|
||||
LIBS *= -lsimulatorfscommon -lsimulatorfsxcommon -lfsuipc -lSimConnect -lsimulatorplugincommon
|
||||
LIBS += -ldxguid -lole32
|
||||
addStaticLibraryDependency(simulatorfscommon)
|
||||
addStaticLibraryDependency(simulatorfsxcommon)
|
||||
addStaticLibraryDependency(fsuipc)
|
||||
addStaticLibraryDependency(simulatorplugincommon)
|
||||
|
||||
win32 {
|
||||
dlltarget.path = $$PREFIX/bin/plugins/simulator
|
||||
INSTALLS += dlltarget
|
||||
} else {
|
||||
target.path = $$PREFIX/bin/plugins/simulator
|
||||
INSTALLS += target
|
||||
}
|
||||
include(../fsxp3d.pri)
|
||||
|
||||
load(common_post)
|
||||
|
||||
Reference in New Issue
Block a user