summaryrefslogtreecommitdiff
path: root/Source/cmSystemTools.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2001-07-17 09:54:05 -0400
committerBrad King <brad.king@kitware.com>2001-07-17 09:54:05 -0400
commitc5381e85885c289d0669d5f3ddb5e3d2d3d2e5dd (patch)
tree38db367769adf553aebb21dac1b04b3a177e352b /Source/cmSystemTools.h
parente169953e923907706439c60033ce983729c2e404 (diff)
downloadcmake-c5381e85885c289d0669d5f3ddb5e3d2d3d2e5dd.tar.gz
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.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/Source/cmSystemTools.h b/Source/cmSystemTools.h
index 87f63c7c0f..d5566ba02a 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