diff options
author | Marc Chevrier <marc.chevrier@gmail.com> | 2021-01-06 12:52:53 (GMT) |
---|---|---|
committer | Marc Chevrier <marc.chevrier@gmail.com> | 2021-01-09 10:35:00 (GMT) |
commit | 8ec7408d745a9e17a1e35a4e97e9ab33044832c9 (patch) | |
tree | 7eecc261db167be34f52ce087e61dc3e38e1167b /Source/cmSystemTools.h | |
parent | ce874fbcd6350225ce854a984efd34caf78c3e0f (diff) | |
download | CMake-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.h | 6 |
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 |