diff options
author | Peter Kuemmel <syntheticpp@gmx.net> | 2012-04-06 15:40:22 (GMT) |
---|---|---|
committer | Peter Kuemmel <syntheticpp@gmx.net> | 2012-04-06 17:31:18 (GMT) |
commit | 8217c26813d1a1f6a81c2fe15f20ee1795d428e5 (patch) | |
tree | eea3f2dc2f92b415a30a1dd6510f053e890c2815 /Source/cmNinjaNormalTargetGenerator.h | |
parent | 15f238fd6e989a9c163518c36a56f4d662a73f5e (diff) | |
download | CMake-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.h | 3 |
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; |