CMP0001.rst 762 B

123456789101112131415161718192021
  1. CMP0001
  2. -------
  3. ``CMAKE_BACKWARDS_COMPATIBILITY`` should no longer be used.
  4. The behavior is to check ``CMAKE_BACKWARDS_COMPATIBILITY`` and present
  5. it to the user. The ``NEW`` behavior is to ignore
  6. CMAKE_BACKWARDS_COMPATIBILITY completely.
  7. In CMake 2.4 and below the variable ``CMAKE_BACKWARDS_COMPATIBILITY`` was
  8. used to request compatibility with earlier versions of CMake. In
  9. CMake 2.6 and above all compatibility issues are handled by policies
  10. and the :command:`cmake_policy` command. However, CMake must still check
  11. ``CMAKE_BACKWARDS_COMPATIBILITY`` for projects written for CMake 2.4 and
  12. below.
  13. .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 2.6.0
  14. .. |WARNS_OR_DOES_NOT_WARN| replace:: warns
  15. .. include:: STANDARD_ADVICE.txt
  16. .. include:: DEPRECATED.txt