CMake/Help/prop_dir/DEFINITIONS.rst
Stephen Kelly 06f61c26cf Do not treat DEFINITIONS as a built-in directory property
Add policy CMP0059 to cover this change.  The property has been
deprecated since CMake 2.4 anyway.

This will help clean up cmMakefile -- the DefineFlagsOrig member should
not need to exist.
2015-04-02 13:00:48 -04:00

14 lines
419 B
ReStructuredText

DEFINITIONS
-----------
For CMake 2.4 compatibility only. Use :prop_dir:`COMPILE_DEFINITIONS`
instead.
This read-only property specifies the list of flags given so far to
the :command:`add_definitions` command. It is intended for debugging
purposes. Use the :prop_dir:`COMPILE_DEFINITIONS` directory property
instead.
This built-in read-only property does not exist if policy
:policy:`CMP0059` is set to ``NEW``.