diff options
author | Brad King <brad.king@kitware.com> | 2007-03-08 16:49:26 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2007-03-08 16:49:26 (GMT) |
commit | 91c2b84a92a7cff0bbfc253e8937dd4832690bf7 (patch) | |
tree | c59ae8c2df8d717818fcca629f84708fd494a246 /Source/cmSystemTools.h | |
parent | 00051cf72162bfe04620e81794d15aeedc068db6 (diff) | |
download | CMake-91c2b84a92a7cff0bbfc253e8937dd4832690bf7.zip CMake-91c2b84a92a7cff0bbfc253e8937dd4832690bf7.tar.gz CMake-91c2b84a92a7cff0bbfc253e8937dd4832690bf7.tar.bz2 |
ENH: Added ConvertToOutputSlashes method to convert slashes with the same policy as ConvertToOutputPath but without escaping.
Diffstat (limited to 'Source/cmSystemTools.h')
-rw-r--r-- | Source/cmSystemTools.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmSystemTools.h b/Source/cmSystemTools.h index ecb595d..1838039 100644 --- a/Source/cmSystemTools.h +++ b/Source/cmSystemTools.h @@ -289,6 +289,8 @@ public: // ConvertToOutputPath use s_ForceUnixPaths static std::string ConvertToOutputPath(const char* path); + static void ConvertToOutputSlashes(std::string& path); + // ConvertToRunCommandPath does not use s_ForceUnixPaths and should // be used when RunCommand is called from cmake, because the // running cmake needs paths to be in its format |