mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
BUG: Fixed display of custom command comments with quotes, dollars, and other special characters in them.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user