Skip to content
  • Brad King's avatar
    ENH: Merged implementations of ConvertToRelative*Path methods. The main... · cb48e0c1
    Brad King authored
    ENH: Merged implementations of ConvertToRelative*Path methods.  The main ConvertToRelativePath method is now in cmGlobalGenerator.  It converts paths only if they are at least inside the deepest common directory between the top-level source and build trees.  Each cmLocalGenerator instance calls this global method with its own output directory as the "local" argument from which paths are relative.  Added separate ConvertToOptionallyRelative path that pays attention to the CMAKE_USE_RELATIVE_PATHS option.
    cb48e0c1