mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-08-06 17:53:23 +08:00
Integrate swift version numbering into the json config system.
This commit is contained in:
@@ -101,6 +101,6 @@ constexpr bool BlackConfig::CBuildConfig::isVatsimVersion()
|
||||
!!ENDIF
|
||||
}
|
||||
|
||||
constexpr int BlackConfig::CBuildConfig::versionMajor() { return $$BLACK_VER_MAJ; }
|
||||
constexpr int BlackConfig::CBuildConfig::versionMinor() { return $$BLACK_VER_MIN; }
|
||||
constexpr int BlackConfig::CBuildConfig::versionMicro() { return $$BLACK_VER_MIC; }
|
||||
constexpr int BlackConfig::CBuildConfig::versionMajor() { return $$swiftConfig(version.major); }
|
||||
constexpr int BlackConfig::CBuildConfig::versionMinor() { return $$swiftConfig(version.minor); }
|
||||
constexpr int BlackConfig::CBuildConfig::versionMicro() { return $$swiftConfig(version.micro); }
|
||||
|
||||
@@ -72,7 +72,7 @@ DEFINES += XPLM210=1
|
||||
DEFINES += XPMP_CLIENT_NAME=\\\"xswiftbus\\\"
|
||||
DEFINES += XPMP_CLIENT_LONGNAME=\\\"xswiftbus\\\"
|
||||
|
||||
DEFINES += XSWIFTBUS_VERSION=\\\"$${BLACK_VERSION}\\\"
|
||||
DEFINES += XSWIFTBUS_VERSION=\\\"$$swiftConfig(version.full)\\\"
|
||||
|
||||
# X-Plane plugins must follow a prescribed filename and directory structure.
|
||||
TARGET_EXT = .xpl
|
||||
|
||||
Reference in New Issue
Block a user