summaryrefslogtreecommitdiffstats
path: root/Source/cmSystemTools.h
diff options
context:
space:
mode:
authorJohan Björk <phb@spotify.com>2011-02-15 13:34:14 (GMT)
committerBrad King <brad.king@kitware.com>2011-06-07 14:18:54 (GMT)
commitd0a403fd99e000f32467f66fe898d785f30435eb (patch)
tree14d657d3350cf560f62d581a64f736789a6fc14a /Source/cmSystemTools.h
parentd4884710a4db8a24e08b47617c912ba83deb1e39 (diff)
downloadCMake-d0a403fd99e000f32467f66fe898d785f30435eb.zip
CMake-d0a403fd99e000f32467f66fe898d785f30435eb.tar.gz
CMake-d0a403fd99e000f32467f66fe898d785f30435eb.tar.bz2
CMake: Move tokenize to cmSystemTools
Diffstat (limited to 'Source/cmSystemTools.h')
-rw-r--r--Source/cmSystemTools.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/cmSystemTools.h b/Source/cmSystemTools.h
index 6f9147c..5b5c768 100644
--- a/Source/cmSystemTools.h
+++ b/Source/cmSystemTools.h
@@ -439,6 +439,9 @@ public:
/** Remove a directory; repeat a few times in case of locked files. */
static bool RepeatedRemoveDirectory(const char* dir);
+ /** Tokenize a string */
+ static std::vector<std::string> tokenize(const std::string& str,
+ const std::string& sep);
private:
static bool s_ForceUnixPaths;
static bool s_RunCommandHideConsole;