CMP0001.rst 834 B

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