mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-21 04:45:31 +08:00
Ref T270, Ref T275 FSX/P3D .pro files adjusted
This commit is contained in:
@@ -13,6 +13,10 @@ CONFIG += blackconfig blackmisc blackcore blackgui
|
|||||||
DEPENDPATH += . $$SourceRoot/src
|
DEPENDPATH += . $$SourceRoot/src
|
||||||
INCLUDEPATH += . $$SourceRoot/src
|
INCLUDEPATH += . $$SourceRoot/src
|
||||||
INCLUDEPATH *= $$EXTERNALSROOT/common/include/simconnect/FSX-XPack
|
INCLUDEPATH *= $$EXTERNALSROOT/common/include/simconnect/FSX-XPack
|
||||||
|
SOURCES += *.cpp
|
||||||
|
HEADERS += *.h
|
||||||
|
DISTFILES += simulatorfsx.json
|
||||||
|
DESTDIR = $$DestRoot/bin/plugins/simulator
|
||||||
|
|
||||||
LIBS *= -L$$EXTERNALS_LIB_DIR/FSX-XPack
|
LIBS *= -L$$EXTERNALS_LIB_DIR/FSX-XPack
|
||||||
LIBS *= -lsimulatorfscommon -lsimulatorfsxcommon -lfsuipc -lSimConnect -lsimulatorplugincommon
|
LIBS *= -lsimulatorfscommon -lsimulatorfsxcommon -lfsuipc -lSimConnect -lsimulatorplugincommon
|
||||||
@@ -22,12 +26,6 @@ addStaticLibraryDependency(simulatorfsxcommon)
|
|||||||
addStaticLibraryDependency(fsuipc)
|
addStaticLibraryDependency(fsuipc)
|
||||||
addStaticLibraryDependency(simulatorplugincommon)
|
addStaticLibraryDependency(simulatorplugincommon)
|
||||||
|
|
||||||
SOURCES += *.cpp
|
|
||||||
HEADERS += *.h
|
|
||||||
DISTFILES += simulatorfsx.json
|
|
||||||
|
|
||||||
DESTDIR = $$DestRoot/bin/plugins/simulator
|
|
||||||
|
|
||||||
win32 {
|
win32 {
|
||||||
dlltarget.path = $$PREFIX/bin/plugins/simulator
|
dlltarget.path = $$PREFIX/bin/plugins/simulator
|
||||||
INSTALLS += dlltarget
|
INSTALLS += dlltarget
|
||||||
|
|||||||
@@ -10,18 +10,27 @@ CONFIG += blackconfig blackmisc blackcore blackgui
|
|||||||
|
|
||||||
DEPENDPATH += . $$SourceRoot/src
|
DEPENDPATH += . $$SourceRoot/src
|
||||||
INCLUDEPATH += . $$SourceRoot/src
|
INCLUDEPATH += . $$SourceRoot/src
|
||||||
|
|
||||||
equals(WORD_SIZE,64) {
|
|
||||||
INCLUDEPATH *= $$EXTERNALSROOT/common/include/simconnect/P3D-v4.1
|
|
||||||
}
|
|
||||||
equals(WORD_SIZE,32) {
|
|
||||||
INCLUDEPATH *= $$EXTERNALSROOT/common/include/simconnect/FSX-XPack
|
|
||||||
}
|
|
||||||
|
|
||||||
SOURCES += *.cpp
|
SOURCES += *.cpp
|
||||||
HEADERS += *.h
|
HEADERS += *.h
|
||||||
FORMS += *.ui
|
FORMS += *.ui
|
||||||
|
|
||||||
DESTDIR = $$DestRoot/lib
|
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
|
||||||
|
}
|
||||||
|
|
||||||
|
addStaticLibraryDependency(fsuipc)
|
||||||
|
addStaticLibraryDependency(simulatorplugincommon)
|
||||||
|
|
||||||
load(common_post)
|
load(common_post)
|
||||||
|
|||||||
@@ -14,10 +14,16 @@ SOURCES += *.cpp
|
|||||||
HEADERS += *.h
|
HEADERS += *.h
|
||||||
DISTFILES += simulatorfsxconfig.json
|
DISTFILES += simulatorfsxconfig.json
|
||||||
LIBS += -lsimulatorfsxcommon
|
LIBS += -lsimulatorfsxcommon
|
||||||
addStaticLibraryDependency(simulatorfsxcommon)
|
|
||||||
|
|
||||||
DESTDIR = $$DestRoot/bin/plugins/simulator
|
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 {
|
win32 {
|
||||||
dlltarget.path = $$PREFIX/bin/plugins/simulator
|
dlltarget.path = $$PREFIX/bin/plugins/simulator
|
||||||
INSTALLS += dlltarget
|
INSTALLS += dlltarget
|
||||||
|
|||||||
@@ -12,30 +12,26 @@ CONFIG += blackconfig blackmisc blackcore blackgui
|
|||||||
|
|
||||||
DEPENDPATH += . $$SourceRoot/src
|
DEPENDPATH += . $$SourceRoot/src
|
||||||
INCLUDEPATH += . $$SourceRoot/src
|
INCLUDEPATH += . $$SourceRoot/src
|
||||||
|
|
||||||
SOURCES += *.cpp
|
SOURCES += *.cpp
|
||||||
HEADERS += *.h
|
HEADERS += *.h
|
||||||
|
DISTFILES += simulatorp3d.json
|
||||||
equals(WORD_SIZE,64) {
|
DESTDIR = $$DestRoot/bin/plugins/simulator
|
||||||
INCLUDEPATH *= $$EXTERNALSROOT/common/include/simconnect/P3D-v4.1
|
|
||||||
}
|
|
||||||
equals(WORD_SIZE,32) {
|
|
||||||
INCLUDEPATH *= $$EXTERNALSROOT/common/include/simconnect/FSX-XPack
|
|
||||||
}
|
|
||||||
|
|
||||||
LIBS += -lsimulatorfscommon -lsimulatorfsxcommon -lfsuipc -lsimulatorplugincommon
|
LIBS += -lsimulatorfscommon -lsimulatorfsxcommon -lfsuipc -lsimulatorplugincommon
|
||||||
|
|
||||||
equals(WORD_SIZE,64) {
|
equals(WORD_SIZE,64) {
|
||||||
|
INCLUDEPATH *= $$EXTERNALSROOT/common/include/simconnect/P3D-v4.1
|
||||||
LIBS *= -L$$EXTERNALS_LIB_DIR/P3D-v4.1
|
LIBS *= -L$$EXTERNALS_LIB_DIR/P3D-v4.1
|
||||||
LIBS *= -lAdvapi32
|
LIBS *= -lAdvapi32
|
||||||
CONFIG(debug, debug|release): LIBS *= -lSimConnectDebug
|
CONFIG(debug, debug|release): LIBS *= -lSimConnectDebug
|
||||||
else: LIBS *= -lSimConnect
|
else: LIBS *= -lSimConnect
|
||||||
}
|
}
|
||||||
equals(WORD_SIZE,32) {
|
equals(WORD_SIZE,32) {
|
||||||
|
INCLUDEPATH *= $$EXTERNALSROOT/common/include/simconnect/FSX-XPack
|
||||||
LIBS *= -L$$EXTERNALS_LIB_DIR/FSX-XPack
|
LIBS *= -L$$EXTERNALS_LIB_DIR/FSX-XPack
|
||||||
LIBS *= -lSimConnect
|
LIBS *= -lSimConnect
|
||||||
}
|
}
|
||||||
LIBS += -ldxguid -lole32
|
|
||||||
addStaticLibraryDependency(simulatorfscommon)
|
addStaticLibraryDependency(simulatorfscommon)
|
||||||
addStaticLibraryDependency(simulatorfsxcommon)
|
addStaticLibraryDependency(simulatorfsxcommon)
|
||||||
addStaticLibraryDependency(fsuipc)
|
addStaticLibraryDependency(fsuipc)
|
||||||
@@ -44,9 +40,6 @@ addStaticLibraryDependency(simulatorplugincommon)
|
|||||||
# Ignore linker warning about missing pdb files from Simconnect
|
# Ignore linker warning about missing pdb files from Simconnect
|
||||||
msvc: QMAKE_LFLAGS *= /ignore:4099
|
msvc: QMAKE_LFLAGS *= /ignore:4099
|
||||||
|
|
||||||
DISTFILES += simulatorp3d.json
|
|
||||||
DESTDIR = $$DestRoot/bin/plugins/simulator
|
|
||||||
|
|
||||||
win32 {
|
win32 {
|
||||||
dlltarget.path = $$PREFIX/bin/plugins/simulator
|
dlltarget.path = $$PREFIX/bin/plugins/simulator
|
||||||
INSTALLS += dlltarget
|
INSTALLS += dlltarget
|
||||||
|
|||||||
@@ -9,15 +9,31 @@ CONFIG += blackconfig blackmisc blackcore blackgui
|
|||||||
|
|
||||||
DEPENDPATH += . $$SourceRoot/src
|
DEPENDPATH += . $$SourceRoot/src
|
||||||
INCLUDEPATH += . $$SourceRoot/src
|
INCLUDEPATH += . $$SourceRoot/src
|
||||||
|
|
||||||
SOURCES += *.cpp
|
SOURCES += *.cpp
|
||||||
HEADERS += *.h
|
HEADERS += *.h
|
||||||
DISTFILES += simulatorp3dconfig.json
|
DISTFILES += simulatorp3d.json
|
||||||
LIBS += -lsimulatorfsxcommon
|
|
||||||
addStaticLibraryDependency(simulatorfsxcommon)
|
|
||||||
|
|
||||||
DESTDIR = $$DestRoot/bin/plugins/simulator
|
DESTDIR = $$DestRoot/bin/plugins/simulator
|
||||||
|
|
||||||
|
LIBS += -lsimulatorfscommon -lsimulatorfsxcommon -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
|
||||||
|
}
|
||||||
|
|
||||||
|
addStaticLibraryDependency(simulatorfscommon)
|
||||||
|
addStaticLibraryDependency(simulatorfsxcommon)
|
||||||
|
addStaticLibraryDependency(fsuipc)
|
||||||
|
addStaticLibraryDependency(simulatorplugincommon)
|
||||||
|
|
||||||
win32 {
|
win32 {
|
||||||
dlltarget.path = $$PREFIX/bin/plugins/simulator
|
dlltarget.path = $$PREFIX/bin/plugins/simulator
|
||||||
INSTALLS += dlltarget
|
INSTALLS += dlltarget
|
||||||
|
|||||||
Reference in New Issue
Block a user