diff options
author | Johan Björk <phb@spotify.com> | 2011-02-15 13:34:14 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2011-06-07 14:18:54 (GMT) |
commit | d0a403fd99e000f32467f66fe898d785f30435eb (patch) | |
tree | 14d657d3350cf560f62d581a64f736789a6fc14a /Source/cmSystemTools.h | |
parent | d4884710a4db8a24e08b47617c912ba83deb1e39 (diff) | |
download | CMake-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.h | 3 |
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; |