summaryrefslogtreecommitdiffstats
path: root/Source/cmSystemTools.h
diff options
context:
space:
mode:
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 5d484a8..4aeaf18 100644
--- a/Source/cmSystemTools.h
+++ b/Source/cmSystemTools.h
@@ -245,6 +245,11 @@ public:
static bool StringEndsWith(const char* str1, const char* str2);
static bool CreateSymlink(const char* origName, const char* newName);
+
+ ///! compute the relative path from local to remote
+ static std::string RelativePath(const char* local, const char* remote);
+ ///! split a path by separator into an array of strings, default is /
+ static std::vector<std::string> SplitString(const char* s, char separator = '/');
private:
static bool s_ForceUnixPaths;
static bool s_RunCommandHideConsole;