diff options
author | Brad King <brad.king@kitware.com> | 2006-09-21 20:10:47 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2006-09-21 20:10:47 (GMT) |
commit | b9fc06735da95cd0f96c96012dd98c7ab5be56e6 (patch) | |
tree | 9ad4d426525eba88099635e9a3c6e5180643cadf /Source/cmLocalGenerator.h | |
parent | 6d72bb5ae1a6abe3f497133ea8483e0a6cd0dd5e (diff) | |
download | CMake-b9fc06735da95cd0f96c96012dd98c7ab5be56e6.zip CMake-b9fc06735da95cd0f96c96012dd98c7ab5be56e6.tar.gz CMake-b9fc06735da95cd0f96c96012dd98c7ab5be56e6.tar.bz2 |
BUG: Enabled use of EscapeForShell to properly escape custom command lines. This addresses bug#3786 for Xcode.
Diffstat (limited to 'Source/cmLocalGenerator.h')
-rw-r--r-- | Source/cmLocalGenerator.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmLocalGenerator.h b/Source/cmLocalGenerator.h index 1e324a1..44aa79a 100644 --- a/Source/cmLocalGenerator.h +++ b/Source/cmLocalGenerator.h @@ -201,12 +201,12 @@ public: const char* LanguageCompileFlags; }; -protected: - /** Escape the given string to be used as a command line argument in the native build system shell. */ std::string EscapeForShell(const char* str); +protected: + /** Construct a comment for a custom command. */ std::string ConstructComment(const cmCustomCommand& cc, const char* default_comment = ""); |