mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-08 07:10:12 -05:00
Swift: remove unnecessary unreleased Ninja infrastructure
This cleans up the new options that were added to support Swift. This was not released, and the proper support approach that we settled upon does not require as much specialised support.
This commit is contained in:
committed by
Brad King
parent
0723582208
commit
d688c4c19d
@@ -162,46 +162,6 @@ std::string cmRulePlaceholderExpander::ExpandRuleVariable(
|
||||
}
|
||||
}
|
||||
}
|
||||
if (replaceValues.SwiftAuxiliarySources) {
|
||||
if (variable == "SWIFT_AUXILIARY_SOURCES") {
|
||||
return replaceValues.SwiftAuxiliarySources;
|
||||
}
|
||||
}
|
||||
if (replaceValues.SwiftModuleName) {
|
||||
if (variable == "SWIFT_MODULE_NAME") {
|
||||
return replaceValues.SwiftModuleName;
|
||||
}
|
||||
}
|
||||
if (replaceValues.SwiftLibraryName) {
|
||||
if (variable == "SWIFT_LIBRARY_NAME") {
|
||||
return replaceValues.SwiftLibraryName;
|
||||
}
|
||||
}
|
||||
if (replaceValues.SwiftPartialDoc) {
|
||||
if (variable == "SWIFT_PARTIAL_DOC") {
|
||||
return replaceValues.SwiftPartialDoc;
|
||||
}
|
||||
}
|
||||
if (replaceValues.SwiftPartialModule) {
|
||||
if (variable == "SWIFT_PARTIAL_MODULE") {
|
||||
return replaceValues.SwiftPartialModule;
|
||||
}
|
||||
}
|
||||
if (replaceValues.SwiftPartialModules) {
|
||||
if (variable == "SWIFT_PARTIAL_MODULES") {
|
||||
return replaceValues.SwiftPartialModules;
|
||||
}
|
||||
}
|
||||
if (replaceValues.TargetSwiftDoc) {
|
||||
if (variable == "TARGET_SWIFT_DOC") {
|
||||
return replaceValues.TargetSwiftDoc;
|
||||
}
|
||||
}
|
||||
if (replaceValues.TargetSwiftModule) {
|
||||
if (variable == "TARGET_SWIFT_MODULE") {
|
||||
return replaceValues.TargetSwiftModule;
|
||||
}
|
||||
}
|
||||
if (variable == "TARGET_SONAME" || variable == "SONAME_FLAG" ||
|
||||
variable == "TARGET_INSTALLNAME_DIR") {
|
||||
// All these variables depend on TargetSOName
|
||||
|
||||
Reference in New Issue
Block a user