@@ -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;
};