summaryrefslogtreecommitdiff
path: root/Help/prop_dir
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-04-01 20:53:31 +0200
committerBrad King <brad.king@kitware.com>2015-04-02 13:00:48 -0400
commit06f61c26cfa19a47610ad718a784bdd7db105cf8 (patch)
tree1797c44c18bd596ae1ed8003012985fb374b6e87 /Help/prop_dir
parentf2e07a6d90806d50b6897051c2275e38689d16e7 (diff)
downloadcmake-06f61c26cfa19a47610ad718a784bdd7db105cf8.tar.gz
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.
Diffstat (limited to 'Help/prop_dir')
-rw-r--r--Help/prop_dir/DEFINITIONS.rst11
1 files changed, 8 insertions, 3 deletions
diff --git a/Help/prop_dir/DEFINITIONS.rst b/Help/prop_dir/DEFINITIONS.rst
index 22f7c1542b..79ac3f3462 100644
--- a/Help/prop_dir/DEFINITIONS.rst
+++ b/Help/prop_dir/DEFINITIONS.rst
@@ -1,8 +1,13 @@
DEFINITIONS
-----------
-For CMake 2.4 compatibility only. Use COMPILE_DEFINITIONS instead.
+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 add_definitions command. It is intended for debugging purposes.
-Use the COMPILE_DEFINITIONS instead.
+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``.