summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalNinjaGenerator.h
diff options
context:
space:
mode:
authorPeter Collingbourne <peter@pcc.me.uk>2012-02-19 01:50:53 (GMT)
committerPeter Collingbourne <peter@pcc.me.uk>2012-02-19 04:00:02 (GMT)
commitcea03e632b71589592660614a63ff102ba923de8 (patch)
tree2413c402f5880a595c05ae54e36be230c57497da /Source/cmGlobalNinjaGenerator.h
parent9362440a0b9193c417b42c50495d0a3ea6e098c4 (diff)
downloadCMake-cea03e632b71589592660614a63ff102ba923de8.zip
CMake-cea03e632b71589592660614a63ff102ba923de8.tar.gz
CMake-cea03e632b71589592660614a63ff102ba923de8.tar.bz2
Ninja: Backslash rules for Windows
Generally these are only required in build statements, as Ninja wants to be able to chop paths up. But it doesn't hurt to also try to use them in command line arguments.
Diffstat (limited to 'Source/cmGlobalNinjaGenerator.h')
-rw-r--r--Source/cmGlobalNinjaGenerator.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmGlobalNinjaGenerator.h b/Source/cmGlobalNinjaGenerator.h
index 6f3c6b2..3f8644e 100644
--- a/Source/cmGlobalNinjaGenerator.h
+++ b/Source/cmGlobalNinjaGenerator.h
@@ -59,6 +59,7 @@ public:
static std::string EncodeIdent(const std::string &ident, std::ostream &vars);
static std::string EncodeLiteral(const std::string &lit);
+ static std::string EncodePath(const std::string &path);
/**
* Write the given @a comment to the output stream @a os. It