summaryrefslogtreecommitdiffstats
path: root/Source/cmOutputConverter.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-07-07 18:31:46 (GMT)
committerBrad King <brad.king@kitware.com>2015-07-08 13:00:00 (GMT)
commitbb7eefe4dd4b1385b830ac0f784af883a3d91985 (patch)
tree55c846e7bb05db830fe52cb333957bd5e4583fde /Source/cmOutputConverter.h
parentcedd6e65d22870524eaee1394f023cf001d56aff (diff)
downloadCMake-bb7eefe4dd4b1385b830ac0f784af883a3d91985.zip
CMake-bb7eefe4dd4b1385b830ac0f784af883a3d91985.tar.gz
CMake-bb7eefe4dd4b1385b830ac0f784af883a3d91985.tar.bz2
cmOutputConverter: Adopt EscapeWindowsShellArgument method
Move it out of cmSystemTools and into cmOutputConverter.
Diffstat (limited to 'Source/cmOutputConverter.h')
-rw-r--r--Source/cmOutputConverter.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/cmOutputConverter.h b/Source/cmOutputConverter.h
index 482a64b..8739b97 100644
--- a/Source/cmOutputConverter.h
+++ b/Source/cmOutputConverter.h
@@ -71,6 +71,11 @@ public:
static std::string EscapeForCMake(const std::string& str);
+ /** Compute an escaped version of the given argument for use in a
+ windows shell. */
+ static std::string EscapeWindowsShellArgument(const char* arg,
+ int shell_flags);
+
enum FortranFormat
{
FortranFormatNone,