summaryrefslogtreecommitdiff
path: root/Source/cmNinjaNormalTargetGenerator.h
diff options
context:
space:
mode:
authorPeter Kuemmel <syntheticpp@gmx.net>2012-04-06 17:40:22 +0200
committerPeter Kuemmel <syntheticpp@gmx.net>2012-04-06 19:31:18 +0200
commit8217c26813d1a1f6a81c2fe15f20ee1795d428e5 (patch)
treeeea3f2dc2f92b415a30a1dd6510f053e890c2815 /Source/cmNinjaNormalTargetGenerator.h
parent15f238fd6e989a9c163518c36a56f4d662a73f5e (diff)
downloadcmake-8217c26813d1a1f6a81c2fe15f20ee1795d428e5.tar.gz
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 1702cafe85..7acbe8f6f7 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;