summaryrefslogtreecommitdiffstats
path: root/Source/cmSystemTools.h
diff options
context:
space:
mode:
authorMarc Chevrier <marc.chevrier@gmail.com>2021-01-06 12:52:53 (GMT)
committerMarc Chevrier <marc.chevrier@gmail.com>2021-01-09 10:35:00 (GMT)
commit8ec7408d745a9e17a1e35a4e97e9ab33044832c9 (patch)
tree7eecc261db167be34f52ce087e61dc3e38e1167b /Source/cmSystemTools.h
parentce874fbcd6350225ce854a984efd34caf78c3e0f (diff)
downloadCMake-8ec7408d745a9e17a1e35a4e97e9ab33044832c9.zip
CMake-8ec7408d745a9e17a1e35a4e97e9ab33044832c9.tar.gz
CMake-8ec7408d745a9e17a1e35a4e97e9ab33044832c9.tar.bz2
Makefile dependencies: ensure long paths are used on Windows
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