summaryrefslogtreecommitdiffstats
path: root/Source/cmSystemTools.h
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2002-03-06 15:10:46 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2002-03-06 15:10:46 (GMT)
commit8aa3c35dadb67d63873d44a9ef55391e419376a1 (patch)
treecfcd77fefb78a136c8e312dedf1fa0ab1edf92e3 /Source/cmSystemTools.h
parent4651dbcfc64836988649c2ca7e3e30c811723eb2 (diff)
downloadCMake-8aa3c35dadb67d63873d44a9ef55391e419376a1.zip
CMake-8aa3c35dadb67d63873d44a9ef55391e419376a1.tar.gz
CMake-8aa3c35dadb67d63873d44a9ef55391e419376a1.tar.bz2
ENH: add suport for semi-colon separated list variables
Diffstat (limited to 'Source/cmSystemTools.h')
-rw-r--r--Source/cmSystemTools.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/Source/cmSystemTools.h b/Source/cmSystemTools.h
index a48ea1b..d9e4796 100644
--- a/Source/cmSystemTools.h
+++ b/Source/cmSystemTools.h
@@ -43,6 +43,13 @@ public:
const char* replace,
const char* with);
+ /** Expand out any arguements in the vector that have ; separated
+ * strings into multiple arguements. A new vector is created
+ * containing the expanded versions of all arguments in argsIn.
+ */
+ static void ExpandListArguments(std::vector<std::string> const& argsIn,
+ std::vector<std::string>& argsOut);
+
/**
* Look for and replace registry values in a string
*/