diff options
author | Stephen Kelly <steveire@gmail.com> | 2016-08-27 11:44:56 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2016-08-27 13:26:37 (GMT) |
commit | 564d3a1dc8e19f16db6ddccca38e21d89634c1b4 (patch) | |
tree | 895b012d8e95a56a71bf636907d3adabf76bda18 /Source/cmOutputConverter.h | |
parent | 95a659f1801701b02528c22f0287bb57056dc627 (diff) | |
download | CMake-564d3a1dc8e19f16db6ddccca38e21d89634c1b4.zip CMake-564d3a1dc8e19f16db6ddccca38e21d89634c1b4.tar.gz CMake-564d3a1dc8e19f16db6ddccca38e21d89634c1b4.tar.bz2 |
Convert: Extract ConvertToRelativePath from Convert()
Convert() does some kind of relative conversion, followed by a
conversion to 'output format'.
Make it possible to do the former without the latter.
Diffstat (limited to 'Source/cmOutputConverter.h')
-rw-r--r-- | Source/cmOutputConverter.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmOutputConverter.h b/Source/cmOutputConverter.h index 0f4884e..71bb086 100644 --- a/Source/cmOutputConverter.h +++ b/Source/cmOutputConverter.h @@ -56,6 +56,8 @@ public: OutputFormat output) const; std::string Convert(const std::string& remote, RelativeRoot local, OutputFormat output = UNCHANGED) const; + std::string ConvertToRelativePath(const std::string& remote, + RelativeRoot local) const; std::string ConvertDirectorySeparatorsForShell( const std::string& source) const; |