diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2006-02-07 15:23:17 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2006-02-07 15:23:17 (GMT) |
commit | e5a8e115bc26e6a7f6b25dc2450e9bb28fca6fa1 (patch) | |
tree | 3066579e9fc9477dc9dce981446a6fb30db91f19 /Source/cmSystemTools.h | |
parent | f71a085f74e4b21f3b666c71557534b7603604dd (diff) | |
download | CMake-e5a8e115bc26e6a7f6b25dc2450e9bb28fca6fa1.zip CMake-e5a8e115bc26e6a7f6b25dc2450e9bb28fca6fa1.tar.gz CMake-e5a8e115bc26e6a7f6b25dc2450e9bb28fca6fa1.tar.bz2 |
ENH: Move relative path to kwsys
Diffstat (limited to 'Source/cmSystemTools.h')
-rw-r--r-- | Source/cmSystemTools.h | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/Source/cmSystemTools.h b/Source/cmSystemTools.h index 2895fff..6c5be99 100644 --- a/Source/cmSystemTools.h +++ b/Source/cmSystemTools.h @@ -285,14 +285,7 @@ public: from /usr/src to /usr/src/test/blah/foo.cpp -> test/blah/foo.cpp */ static std::string RelativePath(const char* local, const char* remote); - - /** split a path by separator into an array of strings, default is /. - If isPath is true then the string is treated like a path and if - s starts with a / then the first element of the returned array will - be /, so /foo/bar will be [/, foo, bar] - */ - static std::vector<cmStdString> SplitString(const char* s, char separator = '/', - bool isPath = false); + /** put a string into the environment of the form var=value */ static bool PutEnv(const char* value); |