CMP0059.rst 716 B

123456789101112131415161718192021
  1. CMP0059
  2. -------
  3. .. |REMOVED_IN_CMAKE_VERSION| replace:: 4.0
  4. .. include:: REMOVED_PROLOGUE.txt
  5. .. versionadded:: 3.3
  6. Do not treat ``DEFINITIONS`` as a built-in directory property.
  7. CMake 3.3 and above no longer make a list of definitions available through
  8. the :prop_dir:`DEFINITIONS` directory property. The
  9. :prop_dir:`COMPILE_DEFINITIONS` directory property may be used instead.
  10. The ``OLD`` behavior for this policy is to provide the list of flags given
  11. so far to the :command:`add_definitions` command. The ``NEW`` behavior is
  12. to behave as a normal user-defined directory property.
  13. .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 3.3
  14. .. |WARNED_OR_DID_NOT_WARN| replace:: warned
  15. .. include:: REMOVED_EPILOGUE.txt