diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-04-01 18:53:31 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2015-04-02 17:00:48 (GMT) |
commit | 06f61c26cfa19a47610ad718a784bdd7db105cf8 (patch) | |
tree | 1797c44c18bd596ae1ed8003012985fb374b6e87 /Help/prop_dir/DEFINITIONS.rst | |
parent | f2e07a6d90806d50b6897051c2275e38689d16e7 (diff) | |
download | CMake-06f61c26cfa19a47610ad718a784bdd7db105cf8.zip CMake-06f61c26cfa19a47610ad718a784bdd7db105cf8.tar.gz CMake-06f61c26cfa19a47610ad718a784bdd7db105cf8.tar.bz2 |
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/DEFINITIONS.rst')
-rw-r--r-- | Help/prop_dir/DEFINITIONS.rst | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/Help/prop_dir/DEFINITIONS.rst b/Help/prop_dir/DEFINITIONS.rst index 22f7c15..79ac3f3 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``. |