Help: Document deprecated properties.

Document the COMPILE_DEFINITIONS_<Config> properties as deprecated.
Add new sections for deprecated properties and move POST_INSTALL_SCRIPT
and PRE_INSTALL_SCRIPT there as well.
This commit is contained in:
Nils Gladitz 2014-07-21 17:44:46 +02:00
parent 23ec3738a0
commit 5bbec4e398
4 changed files with 35 additions and 5 deletions

View File

@ -51,7 +51,6 @@ Properties on Directories
/prop_dir/CACHE_VARIABLES /prop_dir/CACHE_VARIABLES
/prop_dir/CLEAN_NO_CUSTOM /prop_dir/CLEAN_NO_CUSTOM
/prop_dir/CMAKE_CONFIGURE_DEPENDS /prop_dir/CMAKE_CONFIGURE_DEPENDS
/prop_dir/COMPILE_DEFINITIONS_CONFIG
/prop_dir/COMPILE_DEFINITIONS /prop_dir/COMPILE_DEFINITIONS
/prop_dir/COMPILE_OPTIONS /prop_dir/COMPILE_OPTIONS
/prop_dir/DEFINITIONS /prop_dir/DEFINITIONS
@ -101,7 +100,6 @@ Properties on Targets
/prop_tgt/COMPATIBLE_INTERFACE_NUMBER_MAX /prop_tgt/COMPATIBLE_INTERFACE_NUMBER_MAX
/prop_tgt/COMPATIBLE_INTERFACE_NUMBER_MIN /prop_tgt/COMPATIBLE_INTERFACE_NUMBER_MIN
/prop_tgt/COMPATIBLE_INTERFACE_STRING /prop_tgt/COMPATIBLE_INTERFACE_STRING
/prop_tgt/COMPILE_DEFINITIONS_CONFIG
/prop_tgt/COMPILE_DEFINITIONS /prop_tgt/COMPILE_DEFINITIONS
/prop_tgt/COMPILE_FEATURES /prop_tgt/COMPILE_FEATURES
/prop_tgt/COMPILE_FLAGS /prop_tgt/COMPILE_FLAGS
@ -205,9 +203,7 @@ Properties on Targets
/prop_tgt/PDB_OUTPUT_DIRECTORY_CONFIG /prop_tgt/PDB_OUTPUT_DIRECTORY_CONFIG
/prop_tgt/PDB_OUTPUT_DIRECTORY /prop_tgt/PDB_OUTPUT_DIRECTORY
/prop_tgt/POSITION_INDEPENDENT_CODE /prop_tgt/POSITION_INDEPENDENT_CODE
/prop_tgt/POST_INSTALL_SCRIPT
/prop_tgt/PREFIX /prop_tgt/PREFIX
/prop_tgt/PRE_INSTALL_SCRIPT
/prop_tgt/PRIVATE_HEADER /prop_tgt/PRIVATE_HEADER
/prop_tgt/PROJECT_LABEL /prop_tgt/PROJECT_LABEL
/prop_tgt/PUBLIC_HEADER /prop_tgt/PUBLIC_HEADER
@ -277,7 +273,6 @@ Properties on Source Files
/prop_sf/ABSTRACT /prop_sf/ABSTRACT
/prop_sf/AUTOUIC_OPTIONS /prop_sf/AUTOUIC_OPTIONS
/prop_sf/AUTORCC_OPTIONS /prop_sf/AUTORCC_OPTIONS
/prop_sf/COMPILE_DEFINITIONS_CONFIG
/prop_sf/COMPILE_DEFINITIONS /prop_sf/COMPILE_DEFINITIONS
/prop_sf/COMPILE_FLAGS /prop_sf/COMPILE_FLAGS
/prop_sf/EXTERNAL_OBJECT /prop_sf/EXTERNAL_OBJECT
@ -317,3 +312,32 @@ Properties on Installed Files
/prop_inst/CPACK_NEVER_OVERWRITE.rst /prop_inst/CPACK_NEVER_OVERWRITE.rst
/prop_inst/CPACK_PERMANENT.rst /prop_inst/CPACK_PERMANENT.rst
Deprecated Properties on Directories
=====================================
.. toctree::
:maxdepth: 1
/prop_dir/COMPILE_DEFINITIONS_CONFIG
Deprecated Properties on Targets
================================
.. toctree::
:maxdepth: 1
/prop_tgt/COMPILE_DEFINITIONS_CONFIG
/prop_tgt/POST_INSTALL_SCRIPT
/prop_tgt/PRE_INSTALL_SCRIPT
Deprecated Properties on Source Files
=====================================
.. toctree::
:maxdepth: 1
/prop_sf/COMPILE_DEFINITIONS_CONFIG

View File

@ -1,6 +1,8 @@
COMPILE_DEFINITIONS_<CONFIG> COMPILE_DEFINITIONS_<CONFIG>
---------------------------- ----------------------------
Ignored. See CMake Policy :policy:`CMP0043`.
Per-configuration preprocessor definitions in a directory. Per-configuration preprocessor definitions in a directory.
This is the configuration-specific version of :prop_dir:`COMPILE_DEFINITIONS` This is the configuration-specific version of :prop_dir:`COMPILE_DEFINITIONS`

View File

@ -1,6 +1,8 @@
COMPILE_DEFINITIONS_<CONFIG> COMPILE_DEFINITIONS_<CONFIG>
---------------------------- ----------------------------
Ignored. See CMake Policy :policy:`CMP0043`.
Per-configuration preprocessor definitions on a source file. Per-configuration preprocessor definitions on a source file.
This is the configuration-specific version of COMPILE_DEFINITIONS. This is the configuration-specific version of COMPILE_DEFINITIONS.

View File

@ -1,6 +1,8 @@
COMPILE_DEFINITIONS_<CONFIG> COMPILE_DEFINITIONS_<CONFIG>
---------------------------- ----------------------------
Ignored. See CMake Policy :policy:`CMP0043`.
Per-configuration preprocessor definitions on a target. Per-configuration preprocessor definitions on a target.
This is the configuration-specific version of :prop_tgt:`COMPILE_DEFINITIONS` This is the configuration-specific version of :prop_tgt:`COMPILE_DEFINITIONS`