mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-04 04:40:56 -06:00
Merge topic 'ninja-swift-map-file-path'
3391a3eca8 Ninja: do not normalise swift support file paths
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3597
This commit is contained in:
@@ -910,8 +910,8 @@ void cmNinjaTargetGenerator::WriteObjectBuildStatements()
|
||||
this->GetBuildFileStream() << "\n";
|
||||
|
||||
if (!this->SwiftOutputMap.empty()) {
|
||||
std::string const mapFilePath = this->ConvertToNinjaPath(
|
||||
this->GeneratorTarget->GetSupportDirectory() + "/output-file-map.json");
|
||||
std::string const mapFilePath =
|
||||
this->GeneratorTarget->GetSupportDirectory() + "/output-file-map.json";
|
||||
std::string const targetSwiftDepsPath = [this]() -> std::string {
|
||||
cmGeneratorTarget const* target = this->GeneratorTarget;
|
||||
if (const char* name = target->GetProperty("Swift_DEPENDENCIES_FILE")) {
|
||||
|
||||
Reference in New Issue
Block a user