From 564d3a1dc8e19f16db6ddccca38e21d89634c1b4 Mon Sep 17 00:00:00 2001 From: Stephen Kelly Date: Sat, 27 Aug 2016 13:44:56 +0200 Subject: 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. --- Source/cmOutputConverter.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Source/cmOutputConverter.h') diff --git a/Source/cmOutputConverter.h b/Source/cmOutputConverter.h index 0f4884e608..71bb086f49 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; -- cgit v1.2.1