summaryrefslogtreecommitdiffstats
path: root/Source/cmNinjaTargetGenerator.cxx
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/cmNinjaTargetGenerator.cxx
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/cmNinjaTargetGenerator.cxx')
-rw-r--r--Source/cmNinjaTargetGenerator.cxx7
1 files changed, 0 insertions, 7 deletions
diff --git a/Source/cmNinjaTargetGenerator.cxx b/Source/cmNinjaTargetGenerator.cxx
index 1e31044..8a563b6 100644
--- a/Source/cmNinjaTargetGenerator.cxx
+++ b/Source/cmNinjaTargetGenerator.cxx
@@ -212,13 +212,6 @@ ComputeDefines(cmSourceFile *source, const std::string& language)
return defines;
}
-std::string cmNinjaTargetGenerator::ConvertToNinjaPath(const char *path) const
-{
- return this->LocalGenerator->Convert(path,
- cmLocalGenerator::HOME_OUTPUT,
- cmLocalGenerator::MAKEFILE);
-}
-
cmNinjaDeps cmNinjaTargetGenerator::ComputeLinkDeps() const
{
// Static libraries never depend on other targets for linking.