CMP0059.rst 664 B

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