mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 21:59:54 -06:00
Merge topic 'fbuild_fix_superfluous_dirs'
2a5855f034 FASTBuild: fix superfluous directory creation
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11379
This commit is contained in:
@@ -823,9 +823,10 @@ void cmFastbuildNormalTargetGenerator::ComputePaths(
|
||||
(needTrailingSlash ? "\\ " : ""));
|
||||
}
|
||||
}
|
||||
std::string impLibFile = ConvertToFastbuildPath(
|
||||
GeneratorTarget->GetFullPath(Config, cmStateEnums::ImportLibraryArtifact));
|
||||
cmSystemTools::MakeDirectory(cmSystemTools::GetFilenamePath(impLibFile));
|
||||
std::string const impLibFullPath =
|
||||
GeneratorTarget->GetFullPath(Config, cmStateEnums::ImportLibraryArtifact);
|
||||
std::string impLibFile = ConvertToFastbuildPath(impLibFullPath);
|
||||
cmSystemTools::MakeDirectory(cmSystemTools::GetFilenamePath(impLibFullPath));
|
||||
if (!impLibFile.empty()) {
|
||||
cmSystemTools::ConvertToOutputSlashes(impLibFile);
|
||||
target.Variables["TargetOutputImplib"] = std::move(impLibFile);
|
||||
|
||||
Reference in New Issue
Block a user