mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-21 04:45:31 +08:00
feat: add native msfs2024 support
This commit is contained in:
@@ -25,7 +25,7 @@ constexpr bool swift::config::CBuildConfig::isCompiledWithFsxSupport()
|
||||
|
||||
constexpr bool swift::config::CBuildConfig::isCompiledWithFsuipcSupport()
|
||||
{
|
||||
return isCompiledWithFsxSupport() || isCompiledWithP3DSupport() || isCompiledWithFs9Support() || isCompiledWithMSFSSupport();
|
||||
return isCompiledWithFsxSupport() || isCompiledWithP3DSupport() || isCompiledWithFs9Support() || isCompiledWithMSFSSupport() || isCompiledWithMSFS2024Support();
|
||||
}
|
||||
|
||||
constexpr bool swift::config::CBuildConfig::isCompiledWithXPlaneSupport()
|
||||
@@ -43,6 +43,11 @@ constexpr bool swift::config::CBuildConfig::isCompiledWithMSFSSupport()
|
||||
return SWIFTCONFIG_${SWIFT_BUILD_MSFS_PLUGIN};
|
||||
}
|
||||
|
||||
constexpr bool swift::config::CBuildConfig::isCompiledWithMSFS2024Support()
|
||||
{
|
||||
return SWIFTCONFIG_${SWIFT_BUILD_MSFS2024_PLUGIN};
|
||||
}
|
||||
|
||||
constexpr int swift::config::CBuildConfig::versionMajor() { return ${SWIFT_VERSION_MAJOR}; }
|
||||
constexpr int swift::config::CBuildConfig::versionMinor() { return ${SWIFT_VERSION_MINOR}; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user