summaryrefslogtreecommitdiff
path: root/Source/cmSystemTools.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2013-11-15 13:31:00 -0500
committerBrad King <brad.king@kitware.com>2013-11-15 14:40:55 -0500
commit0814d0a6559ed3634dafb372f34491407a27c5e8 (patch)
tree3d007775dc63f56ed46a30e02eb54d8c8ab4c356 /Source/cmSystemTools.h
parentee6e4ac841d8094b59cd0a48c61d7ca3b68c68c2 (diff)
downloadcmake-0814d0a6559ed3634dafb372f34491407a27c5e8.tar.gz
cmSystemTools: Add PrintSingleCommand method
Add a method to print a command line for human reference by simply double-quoting every argument.
Diffstat (limited to 'Source/cmSystemTools.h')
-rw-r--r--Source/cmSystemTools.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmSystemTools.h b/Source/cmSystemTools.h
index 95c7029257..4e854c8c5c 100644
--- a/Source/cmSystemTools.h
+++ b/Source/cmSystemTools.h
@@ -239,6 +239,8 @@ public:
OutputOption outputflag = OUTPUT_MERGE,
double timeout = 0.0);
+ static std::string PrintSingleCommand(std::vector<std::string> const&);
+
/**
* Parse arguments out of a single string command
*/