mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-18 03:15:34 +08:00
Add P3D 64 bit SDK build version config
This commit is contained in:
committed by
Klaus Basan
parent
ebe23a694b
commit
b140e0e193
@@ -28,10 +28,10 @@ fsuipc {
|
||||
|
||||
simconnect {
|
||||
DEFINES += SIMCONNECT_H_NOMANIFEST
|
||||
|
||||
equals(WORD_SIZE,64) {
|
||||
INCLUDEPATH *= $$EXTERNALSROOT/common/include/simconnect/P3D-v4.2
|
||||
LIBS *= -L$$EXTERNALS_LIB_DIR/P3D-v4.2
|
||||
P3D_X64_VERSION = "4.2"
|
||||
INCLUDEPATH *= $$EXTERNALSROOT/common/include/simconnect/P3D-v$${P3D_X64_VERSION}
|
||||
LIBS *= -L$$EXTERNALS_LIB_DIR/P3D-v$${P3D_X64_VERSION}
|
||||
LIBS *= -lAdvapi32
|
||||
LIBS += -ldxguid -lole32
|
||||
# ole32 only needed for P3D on WIN64 systems, LNK2019: unresolved external symbol __imp_CoTaskMemFree referenced in function
|
||||
|
||||
@@ -147,6 +147,9 @@ namespace BlackConfig
|
||||
//! \returns 32, 64 or -1 (in case no info is possible)
|
||||
static int buildWordSize();
|
||||
|
||||
//! P3D 64 bit build version
|
||||
static const QString &p3dX64BuildVersion(); // defined in buildconfig_gen.cpp.in
|
||||
|
||||
private:
|
||||
//! Major version
|
||||
static int versionMajor(); // defined in buildconfig_gen.cpp.in
|
||||
|
||||
@@ -141,6 +141,12 @@ const QString &BlackConfig::CBuildConfig::gitHeadSha1()
|
||||
return gitHeadSha1;
|
||||
}
|
||||
|
||||
const QString &BlackConfig::CBuildConfig::p3dX64BuildVersion()
|
||||
{
|
||||
static const QString p3dX64BuildVersion(\"$$P3D_X64_VERSION\"); // libraries.pri
|
||||
return p3dX64BuildVersion;
|
||||
}
|
||||
|
||||
namespace Private
|
||||
{
|
||||
const QDateTime lastCommitTimestampImpl()
|
||||
|
||||
Reference in New Issue
Block a user