mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-19 12:15:29 +08:00
feat: Add MSFS support
Co-Authored-By: Roland Rossgotterer <roland.rossgotterer@gmail.com> Co-Authored-By: tzobler <tzobler@t-online.de>
This commit is contained in:
@@ -40,7 +40,7 @@ constexpr bool swift::config::CBuildConfig::isCompiledWithFsxSupport()
|
||||
|
||||
constexpr bool swift::config::CBuildConfig::isCompiledWithFsuipcSupport()
|
||||
{
|
||||
return isCompiledWithFsxSupport() || isCompiledWithP3DSupport() || isCompiledWithFs9Support() || SWIFTCONFIG_${SWIFT_BUILD_MSFS_PLUGIN};
|
||||
return isCompiledWithFsxSupport() || isCompiledWithP3DSupport() || isCompiledWithFs9Support() || isCompiledWithMSFSSupport();
|
||||
}
|
||||
|
||||
constexpr bool swift::config::CBuildConfig::isCompiledWithXPlaneSupport()
|
||||
@@ -53,6 +53,11 @@ constexpr bool swift::config::CBuildConfig::isCompiledWithFGSupport()
|
||||
return SWIFTCONFIG_${SWIFT_BUILD_FLIGHTGEAR_PLUGIN};
|
||||
}
|
||||
|
||||
constexpr bool swift::config::CBuildConfig::isCompiledWithMSFSSupport()
|
||||
{
|
||||
return SWIFTCONFIG_${SWIFT_BUILD_MSFS_PLUGIN};
|
||||
}
|
||||
|
||||
constexpr bool swift::config::CBuildConfig::isCompiledWithGui()
|
||||
{
|
||||
return SWIFTCONFIG_${SWIFT_BUILD_GUI};
|
||||
|
||||
Reference in New Issue
Block a user