summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalGenerator.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2006-09-21 19:14:06 (GMT)
committerBrad King <brad.king@kitware.com>2006-09-21 19:14:06 (GMT)
commit2459ceb076d7788f7512ef4a2f68e81c43bc271d (patch)
treeb198c9b7a49aed110b2a706f82426e84690dc582 /Source/cmLocalGenerator.h
parent0952a96485cad05f68724f0a703758dceb60add9 (diff)
downloadCMake-2459ceb076d7788f7512ef4a2f68e81c43bc271d.zip
CMake-2459ceb076d7788f7512ef4a2f68e81c43bc271d.tar.gz
CMake-2459ceb076d7788f7512ef4a2f68e81c43bc271d.tar.bz2
BUG: Centralized generation of command line arguments in escaped form. This addresses bug#3786 for several platforms.
Diffstat (limited to 'Source/cmLocalGenerator.h')
-rw-r--r--Source/cmLocalGenerator.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/cmLocalGenerator.h b/Source/cmLocalGenerator.h
index 6a49375..1e324a1 100644
--- a/Source/cmLocalGenerator.h
+++ b/Source/cmLocalGenerator.h
@@ -202,10 +202,10 @@ public:
};
protected:
- /** Construct a script from the given list of command lines. */
- std::string ConstructScript(const cmCustomCommandLines& commandLines,
- const char* workingDirectory,
- const char* newline = "\n");
+
+ /** Escape the given string to be used as a command line argument in
+ the native build system shell. */
+ std::string EscapeForShell(const char* str);
/** Construct a comment for a custom command. */
std::string ConstructComment(const cmCustomCommand& cc,