mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
Merge topic 'ninja-pdb-dir'
73b84db62dNinja: Fix creation of Windows import library directorybd36735f65cmNinjaTargetGenerator: Replace "their" with "there" in comment Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6694
This commit is contained in:
@@ -902,7 +902,7 @@ void cmNinjaNormalTargetGenerator::WriteNvidiaDeviceLinkStatement(
|
||||
const std::string impLibPath = localGen.ConvertToOutputFormat(
|
||||
targetOutputImplib, cmOutputConverter::SHELL);
|
||||
vars["TARGET_IMPLIB"] = impLibPath;
|
||||
this->EnsureParentDirectoryExists(impLibPath);
|
||||
this->EnsureParentDirectoryExists(targetOutputImplib);
|
||||
}
|
||||
|
||||
const std::string objPath =
|
||||
@@ -1211,7 +1211,7 @@ void cmNinjaNormalTargetGenerator::WriteLinkStatement(
|
||||
const std::string impLibPath = localGen.ConvertToOutputFormat(
|
||||
targetOutputImplib, cmOutputConverter::SHELL);
|
||||
vars["TARGET_IMPLIB"] = impLibPath;
|
||||
this->EnsureParentDirectoryExists(impLibPath);
|
||||
this->EnsureParentDirectoryExists(targetOutputImplib);
|
||||
if (gt->HasImportLibrary(config)) {
|
||||
// Some linkers may update a binary without touching its import lib.
|
||||
byproducts.ExplicitOuts.emplace_back(targetOutputImplib);
|
||||
|
||||
@@ -1755,7 +1755,7 @@ void cmNinjaTargetGenerator::EnsureDirectoryExists(
|
||||
} else {
|
||||
cmGlobalNinjaGenerator* gg = this->GetGlobalGenerator();
|
||||
std::string fullPath = gg->GetCMakeInstance()->GetHomeOutputDirectory();
|
||||
// Also ensures their is a trailing slash.
|
||||
// Also ensures there is a trailing slash.
|
||||
gg->StripNinjaOutputPathPrefixAsSuffix(fullPath);
|
||||
fullPath += path;
|
||||
cmSystemTools::MakeDirectory(fullPath);
|
||||
|
||||
Reference in New Issue
Block a user