summaryrefslogtreecommitdiffstats
path: root/Source/cmSystemTools.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2021-01-11 16:28:52 (GMT)
committerKitware Robot <kwrobot@kitware.com>2021-01-11 16:28:58 (GMT)
commit06dfa5a7b6c0174bfcb4691a9aaf00809bd7271d (patch)
tree1772db847815c260e8fdc28783c5c6fa6fe3310d /Source/cmSystemTools.h
parent0b32dfb292063db66887b93ebce1080e8e47f2f2 (diff)
parentbb64ea5741f599567bf282b32431e852b28e31bc (diff)
downloadCMake-06dfa5a7b6c0174bfcb4691a9aaf00809bd7271d.zip
CMake-06dfa5a7b6c0174bfcb4691a9aaf00809bd7271d.tar.gz
CMake-06dfa5a7b6c0174bfcb4691a9aaf00809bd7271d.tar.bz2
Merge topic 'makefiles-compiler-deps'
bb64ea5741 Makefiles: ensure transparent switch between dependencies strategies 8ec7408d74 Makefile dependencies: ensure long paths are used on Windows Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5655
Diffstat (limited to 'Source/cmSystemTools.h')
-rw-r--r--Source/cmSystemTools.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/cmSystemTools.h b/Source/cmSystemTools.h
index 1100f05..5bbbb0c 100644
--- a/Source/cmSystemTools.h
+++ b/Source/cmSystemTools.h
@@ -287,6 +287,12 @@ public:
// running cmake needs paths to be in its format
static std::string ConvertToRunCommandPath(const std::string& path);
+ /**
+ * For windows computes the long path for the given path,
+ * For Unix, it is a noop
+ */
+ static void ConvertToLongPath(std::string& path);
+
/** compute the relative path from local to remote. local must
be a directory. remote can be a file or a directory.
Both remote and local must be full paths. Basically, if