summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalGenerator.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2006-10-04 22:52:29 (GMT)
committerBrad King <brad.king@kitware.com>2006-10-04 22:52:29 (GMT)
commit406f3554c787f6926e9775f953e8f590db78803e (patch)
tree8968bcf410707e07d074779ca0ea3e69c0dee598 /Source/cmLocalGenerator.h
parent038c9e27d78b2df56460c85a1a797c7e0dc3e149 (diff)
downloadCMake-406f3554c787f6926e9775f953e8f590db78803e.zip
CMake-406f3554c787f6926e9775f953e8f590db78803e.tar.gz
CMake-406f3554c787f6926e9775f953e8f590db78803e.tar.bz2
BUG: Fixed display of custom command comments with quotes, dollars, and other special characters in them.
Diffstat (limited to 'Source/cmLocalGenerator.h')
-rw-r--r--Source/cmLocalGenerator.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/Source/cmLocalGenerator.h b/Source/cmLocalGenerator.h
index f12ed9c..53b4220 100644
--- a/Source/cmLocalGenerator.h
+++ b/Source/cmLocalGenerator.h
@@ -204,8 +204,11 @@ public:
/** Escape the given string to be used as a command line argument in
the native build system shell. Optionally allow the build
- system to replace make variable references. */
- std::string EscapeForShell(const char* str, bool makeVars = false);
+ system to replace make variable references. Optionally adjust
+ escapes for the special case of passing to the native echo
+ command. */
+ std::string EscapeForShell(const char* str, bool makeVars = false,
+ bool forEcho = false);
/** Backwards-compatibility version of EscapeForShell. */
std::string EscapeForShellOldStyle(const char* str);