summaryrefslogtreecommitdiffstats
path: root/Source/cmNinjaNormalTargetGenerator.h
diff options
context:
space:
mode:
authorPeter Kuemmel <syntheticpp@gmx.net>2012-04-06 15:40:22 (GMT)
committerPeter Kuemmel <syntheticpp@gmx.net>2012-04-06 17:31:18 (GMT)
commit8217c26813d1a1f6a81c2fe15f20ee1795d428e5 (patch)
treeeea3f2dc2f92b415a30a1dd6510f053e890c2815 /Source/cmNinjaNormalTargetGenerator.h
parent15f238fd6e989a9c163518c36a56f4d662a73f5e (diff)
downloadCMake-8217c26813d1a1f6a81c2fe15f20ee1795d428e5.zip
CMake-8217c26813d1a1f6a81c2fe15f20ee1795d428e5.tar.gz
CMake-8217c26813d1a1f6a81c2fe15f20ee1795d428e5.tar.bz2
Ninja: ensure output directories exist
Diffstat (limited to 'Source/cmNinjaNormalTargetGenerator.h')
-rw-r--r--Source/cmNinjaNormalTargetGenerator.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/cmNinjaNormalTargetGenerator.h b/Source/cmNinjaNormalTargetGenerator.h
index 1702caf..7acbe8f 100644
--- a/Source/cmNinjaNormalTargetGenerator.h
+++ b/Source/cmNinjaNormalTargetGenerator.h
@@ -35,6 +35,9 @@ private:
void WriteObjectLibStatement();
std::vector<std::string> ComputeLinkCmd();
+ void EnsureDirectoryExists(const std::string& dir);
+ void EnsureParentDirectoryExists(const std::string& path);
+
private:
// Target name info.
std::string TargetNameOut;