diff options
author | Brad King <brad.king@kitware.com> | 2021-01-11 16:28:52 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2021-01-11 16:28:58 (GMT) |
commit | 06dfa5a7b6c0174bfcb4691a9aaf00809bd7271d (patch) | |
tree | 1772db847815c260e8fdc28783c5c6fa6fe3310d /Source/cmSystemTools.h | |
parent | 0b32dfb292063db66887b93ebce1080e8e47f2f2 (diff) | |
parent | bb64ea5741f599567bf282b32431e852b28e31bc (diff) | |
download | CMake-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.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 |