diff options
author | Brad King <brad.king@kitware.com> | 2006-10-04 22:52:29 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2006-10-04 22:52:29 (GMT) |
commit | 406f3554c787f6926e9775f953e8f590db78803e (patch) | |
tree | 8968bcf410707e07d074779ca0ea3e69c0dee598 /Source/cmLocalGenerator.h | |
parent | 038c9e27d78b2df56460c85a1a797c7e0dc3e149 (diff) | |
download | CMake-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.h | 7 |
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); |