diff options
author | Brad King <brad.king@kitware.com> | 2001-07-17 13:54:05 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2001-07-17 13:54:05 (GMT) |
commit | c5381e85885c289d0669d5f3ddb5e3d2d3d2e5dd (patch) | |
tree | 38db367769adf553aebb21dac1b04b3a177e352b /Source/cmSystemTools.h | |
parent | e169953e923907706439c60033ce983729c2e404 (diff) | |
download | CMake-c5381e85885c289d0669d5f3ddb5e3d2d3d2e5dd.zip CMake-c5381e85885c289d0669d5f3ddb5e3d2d3d2e5dd.tar.gz CMake-c5381e85885c289d0669d5f3ddb5e3d2d3d2e5dd.tar.bz2 |
ENH: Added support for using backslash-style escaping in CMakeLists.txt file arguments. This allows double quotes to be used in arguments.
Diffstat (limited to 'Source/cmSystemTools.h')
-rw-r--r-- | Source/cmSystemTools.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Source/cmSystemTools.h b/Source/cmSystemTools.h index 87f63c7..d5566ba 100644 --- a/Source/cmSystemTools.h +++ b/Source/cmSystemTools.h @@ -132,6 +132,13 @@ public: */ static void GetArguments(std::string& line, std::vector<std::string>& arguments); + + /** + * Given a string, replace any escape sequences with the corresponding + * characters. + */ + static std::string RemoveEscapes(const char*); + /** * Add the paths from the environment variable PATH to the |