mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-20 04:25:42 +08:00
refactor: Clean up build config
This commit is contained in:
@@ -8,21 +8,6 @@
|
||||
#define SWIFTCONFIG_ON true
|
||||
#define SWIFTCONFIG_OFF false
|
||||
|
||||
constexpr bool swift::config::CBuildConfig::isCompiledWithCore()
|
||||
{
|
||||
return SWIFTCONFIG_${SWIFT_BUILD_CORE};
|
||||
}
|
||||
|
||||
constexpr bool swift::config::CBuildConfig::isCompiledWithSound()
|
||||
{
|
||||
return SWIFTCONFIG_${SWIFT_BUILD_SOUND};
|
||||
}
|
||||
|
||||
constexpr bool swift::config::CBuildConfig::isCompiledWithInput()
|
||||
{
|
||||
return SWIFTCONFIG_${SWIFT_BUILD_INPUT};
|
||||
}
|
||||
|
||||
constexpr bool swift::config::CBuildConfig::isCompiledWithFs9Support()
|
||||
{
|
||||
return SWIFTCONFIG_${SWIFT_BUILD_FS9_PLUGIN};
|
||||
@@ -58,11 +43,6 @@ constexpr bool swift::config::CBuildConfig::isCompiledWithMSFSSupport()
|
||||
return SWIFTCONFIG_${SWIFT_BUILD_MSFS_PLUGIN};
|
||||
}
|
||||
|
||||
constexpr bool swift::config::CBuildConfig::isCompiledWithGui()
|
||||
{
|
||||
return SWIFTCONFIG_${SWIFT_BUILD_GUI};
|
||||
}
|
||||
|
||||
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