summaryrefslogtreecommitdiffstats
path: root/Source/cmNinjaTargetGenerator.h
diff options
context:
space:
mode:
authorPeter Kuemmel <syntheticpp@gmx.net>2012-06-12 22:52:46 (GMT)
committerPeter Kuemmel <syntheticpp@gmx.net>2012-06-12 22:52:46 (GMT)
commit43200c145d9690701f0cc6dbd5c60ee3ece5edf8 (patch)
tree126a97e913a088f18bfb5d91e789f19b04d8eb27 /Source/cmNinjaTargetGenerator.h
parent12cc6434bfad53a4bc45b0ab36d27489346dfadc (diff)
downloadCMake-43200c145d9690701f0cc6dbd5c60ee3ece5edf8.zip
CMake-43200c145d9690701f0cc6dbd5c60ee3ece5edf8.tar.gz
CMake-43200c145d9690701f0cc6dbd5c60ee3ece5edf8.tar.bz2
Ninja: work with ninja/master, don't compile rc files with cl
Ninja generates for paths with spaces wrong results for $out.d, using the new DEP_FILE variable instead.
Diffstat (limited to 'Source/cmNinjaTargetGenerator.h')
-rw-r--r--Source/cmNinjaTargetGenerator.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/cmNinjaTargetGenerator.h b/Source/cmNinjaTargetGenerator.h
index b64ce1e..af43a8b 100644
--- a/Source/cmNinjaTargetGenerator.h
+++ b/Source/cmNinjaTargetGenerator.h
@@ -111,6 +111,9 @@ protected:
// Helper to add flag for windows .def file.
void AddModuleDefinitionFlag(std::string& flags);
+ void EnsureDirectoryExists(const std::string& dir);
+ void EnsureParentDirectoryExists(const std::string& path);
+
private:
cmTarget* Target;
cmGeneratorTarget* GeneratorTarget;