Merge topic 'cmoutputconverter-simplify'

b6a957c969 cmOutputConverter: move ConvertToRelativePath to cmStateDirectory.

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2831
This commit is contained in:
Brad King
2019-01-29 14:17:13 +00:00
committed by Kitware Robot
25 changed files with 89 additions and 86 deletions

View File

@@ -325,6 +325,16 @@ public:
std::string const& GetCurrentBinaryDirectory() const;
std::string const& GetCurrentSourceDirectory() const;
/**
* Convert the given remote path to a relative path with respect to
* the given local path. Both paths must use forward slashes and not
* already be escaped or quoted.
* The conversion is skipped if the paths are not both in the source
* or both in the binary tree.
*/
std::string MaybeConvertToRelativePath(std::string const& local_path,
std::string const& remote_path) const;
/**
* Generate a macOS application bundle Info.plist file.
*/