FASTBuild: Add internal helper for intermediate directory creation

This commit is contained in:
Brad King committed 2025-12-05 15:10:09 -05:00
1 parent 7e65afff2f
commit dff020e679
2 files changed
+7

No files matched your search

@@ -523,6 +523,12 @@ void cmFastbuildNormalTargetGenerator::EnsureDirectoryExists(
}
}
void cmFastbuildNormalTargetGenerator::EnsureParentDirectoryExists(
std::string const& path) const
{
this->EnsureDirectoryExists(cmSystemTools::GetParentDirectory(path));
}
std::vector<std::string>
cmFastbuildNormalTargetGenerator::GetManifestsAsFastbuildPath() const
{
@@ -157,4 +157,5 @@ private:
std::vector<std::string> GetManifestsAsFastbuildPath() const;
void EnsureDirectoryExists(std::string const& path) const;
void EnsureParentDirectoryExists(std::string const& path) const;
};