Skip to content

Refactor relative path conversion helpers

Brad King requested to merge brad.king/cmake:relative-paths into master

Most calls to cmLocalGenerator::MaybeConvertToRelativePath use one of our common work directories (e.g. top of the build tree) as the local path. Add helpers for each of the common cases to simplify and clarify call sites.

We also had a few other MaybeConvertToRelativePath methods. Rename each of those according to its own semantics.

Merge request reports