CMP0145.rst 1.2 KB

1234567891011121314151617181920212223242526272829
  1. CMP0145
  2. -------
  3. .. versionadded:: 3.27
  4. The :module:`Dart` and :module:`FindDart` modules are removed.
  5. These modules were added very early in CMake's development to support
  6. driving tests with a "DART" tool, but DART has not been distributed or
  7. maintained for many years. Projects would ``include(Dart)`` to use it,
  8. and the ``Dart`` module would run ``find_package(Dart)`` internally.
  9. Since :manual:`ctest(1)` was created, the ``Dart`` module has just been
  10. a compatibility shim that finds ``Dart`` to support some legacy
  11. functionality and then forwards to the :module:`CTest` module.
  12. CMake 3.27 and above prefer to not provide the :module:`Dart` or
  13. :module:`FindDart` modules. This policy provides compatibility for
  14. projects that have not been ported away from them. Projects using the
  15. ``Dart`` module should be updated to use the :module:`CTest` module directly.
  16. The ``OLD`` behavior of this policy is for ``include(Dart)`` and
  17. ``find_package(Dart)`` to load the deprecated modules. The ``NEW``
  18. behavior is for uses of the modules to fail as if they do not exist.
  19. .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 3.27
  20. .. |WARNS_OR_DOES_NOT_WARN| replace:: warns
  21. .. include:: include/STANDARD_ADVICE.rst
  22. .. include:: include/DEPRECATED.rst