CMP0207.rst 1.0 KB

1234567891011121314151617181920212223242526
  1. CMP0207
  2. -------
  3. .. versionadded:: 4.3
  4. :command:`file(GET_RUNTIME_DEPENDENCIES)` normalizes paths before matching.
  5. The :command:`file(GET_RUNTIME_DEPENDENCIES)` and
  6. :command:`install(RUNTIME_DEPENDENCY_SET)` commands support filtering
  7. resolved dependencies using regular expressions matching their paths.
  8. In CMake 4.2 and below, callers were responsible for matching both forward
  9. and backward slashes as path separators on Windows, e.g., via ``[\/]``.
  10. CMake 4.3 and above prefer to normalize paths to use forward slashes before
  11. matching. This policy provides compaitiblity for projects that may have
  12. been relying on matching backslashes only.
  13. The ``OLD`` behavior for this policy matches filters against paths that
  14. may contain any combination of forward and backward slashes on Windows.
  15. The ``NEW`` behavior for this policy to convert all paths to forward
  16. slashes before matching filters.
  17. .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 4.3
  18. .. |WARNS_OR_DOES_NOT_WARN| replace:: warns
  19. .. include:: include/STANDARD_ADVICE.rst
  20. .. include:: include/DEPRECATED.rst