summaryrefslogtreecommitdiffstats
path: root/Source/cmSystemTools.h
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2003-08-07 23:00:53 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2003-08-07 23:00:53 (GMT)
commit028f5aa2c791f3afd6f811f56f03fba5dfc62abf (patch)
tree1b2775e293ce357b0623ce0c21053ccae5ecb0da /Source/cmSystemTools.h
parent9a0ca088a1097ae5dc7b3a3264ffe4d530f13b19 (diff)
downloadCMake-028f5aa2c791f3afd6f811f56f03fba5dfc62abf.zip
CMake-028f5aa2c791f3afd6f811f56f03fba5dfc62abf.tar.gz
CMake-028f5aa2c791f3afd6f811f56f03fba5dfc62abf.tar.bz2
ENH: Abstract parsing of arguments so that I can use it in other places
Diffstat (limited to 'Source/cmSystemTools.h')
-rw-r--r--Source/cmSystemTools.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/cmSystemTools.h b/Source/cmSystemTools.h
index 7f26b25..2ecd504 100644
--- a/Source/cmSystemTools.h
+++ b/Source/cmSystemTools.h
@@ -179,6 +179,11 @@ public:
*/
static bool RunSingleCommand(const char* command, std::string* output = 0,
int* retVal = 0, const char* dir = 0, bool verbose = true, int timeout = 0);
+
+ /**
+ * Parse arguments out of a single string command
+ */
+ static std::vector<cmStdString> ParseArguments(const char* command);
static void EnableMessages() { s_DisableMessages = false; }
static void DisableMessages() { s_DisableMessages = true; }