diff options
author | Ken Martin <ken.martin@kitware.com> | 2001-06-22 10:21:08 -0400 |
---|---|---|
committer | Ken Martin <ken.martin@kitware.com> | 2001-06-22 10:21:08 -0400 |
commit | b977136904223e1763414527683ff4a4891a5549 (patch) | |
tree | 9db1c1eddda9b0d36fb22ec6e5245dc64026ffd6 /Source/cmSystemTools.h | |
parent | 348d1994ac14f4812e287abbfde95b731a801745 (diff) | |
download | cmake-b977136904223e1763414527683ff4a4891a5549.tar.gz |
added escape quote method
Diffstat (limited to 'Source/cmSystemTools.h')
-rw-r--r-- | Source/cmSystemTools.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/cmSystemTools.h b/Source/cmSystemTools.h index df5d2d5a75..87f63c7c0f 100644 --- a/Source/cmSystemTools.h +++ b/Source/cmSystemTools.h @@ -79,6 +79,12 @@ public: static std::string EscapeSpaces(const char*); /** + * Return a string equivalent to the input string, but with all " replaced + * with \" to escape the quote + */ + static std::string EscapeQuotes(const char*); + + /** * Return a capitalized string (i.e the first letter is uppercased, all other * are lowercased). */ |