Refactor: Move ConvertToRelativePath away from cmOutputConverter
This MR
- moves the
ConvertToRelativePath
function intocmStateDirectory
- adds
MaybeConvertToRelativePath
utility function incmLocalGenerator
This way, we can get rid of the cmStateDirectory.h
dependency in cmOutputConverter
.