Ref T197, P3D x86 build

* pro files
* description
This commit is contained in:
Klaus Basan
2017-11-17 17:37:07 +01:00
parent ff963d7d39
commit c5f57a6bd1
3 changed files with 19 additions and 9 deletions

View File

@@ -80,8 +80,8 @@ win32-g++: QMAKE_CXXFLAGS_DEBUG += -Og
# FSX or FS9 on 32bit Windows only
################################
!win32: BLACK_CONFIG -= P3D
equals(WORD_SIZE,64)|!win32: BLACK_CONFIG -= FSX FS9
equals(WORD_SIZE,32)|!win32: BLACK_CONFIG -= P3D
################################
# For BlackMisc::getStackTrace

View File

@@ -16,14 +16,24 @@ INCLUDEPATH += . $$SourceRoot/src
SOURCES += *.cpp
HEADERS += *.h
INCLUDEPATH *= $$EXTERNALSROOT/common/include/simconnect/P3D-v4.1
equals(WORD_SIZE,64) {
INCLUDEPATH *= $$EXTERNALSROOT/common/include/simconnect/P3D-v4.1
}
equals(WORD_SIZE,32) {
INCLUDEPATH *= $$EXTERNALSROOT/common/include/simconnect/FSX-XPack
}
LIBS += -lsimulatorfscommon -lsimulatorfsxcommon -lfsuipc
LIBS *= -L$$EXTERNALS_LIB_DIR/P3D-v4.1
LIBS *= -lAdvapi32
CONFIG(debug, debug|release): LIBS *= -lSimConnectDebug
else: LIBS *= -lSimConnect
equals(WORD_SIZE,64) {
LIBS *= -L$$EXTERNALS_LIB_DIR/P3D-v4.1
LIBS *= -lAdvapi32
CONFIG(debug, debug|release): LIBS *= -lSimConnectDebug
else: LIBS *= -lSimConnect
}
equals(WORD_SIZE,32) {
LIBS *= -L$$EXTERNALS_LIB_DIR/FSX-XPack
LIBS *= -lSimConnect
}
LIBS += -ldxguid -lole32
addStaticLibraryDependency(simulatorfscommon)
addStaticLibraryDependency(simulatorfsxcommon)

View File

@@ -2,6 +2,6 @@
"identifier" : "org.swift-project.plugins.simulator.p3d",
"name" : "PREPAR3D",
"simulator" : "p3d",
"description" : "Lockheed Martin PREPAR3D (x64, v4)",
"description" : "Lockheed Martin PREPAR3D (v1-3 x86, v4 and later x64)",
"config" : "org.swift-project.plugins.simulator.p3d.config"
}