summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-03-03 10:12:05 -0500
committerBrad King <brad.king@kitware.com>2014-03-03 10:12:05 -0500
commitc69a84c3087f8aa294f4260a856c9440d3ee011a (patch)
tree981568ef3452890de4ae721429f6c023235aa270
parent9efba5d95652048dac3218ab0a2117b2599ba279 (diff)
parent38df26bc6f0b36abaf673d0471037fb01ced39fa (diff)
downloadcmake-c69a84c3087f8aa294f4260a856c9440d3ee011a.tar.gz
Merge branch 'CMP0043-dir-prop' into release
-rw-r--r--Help/policy/CMP0043.rst8
1 files changed, 7 insertions, 1 deletions
diff --git a/Help/policy/CMP0043.rst b/Help/policy/CMP0043.rst
index 43d6df2abe..629e5022a4 100644
--- a/Help/policy/CMP0043.rst
+++ b/Help/policy/CMP0043.rst
@@ -18,16 +18,22 @@ or via :command:`target_compile_definitions`:
.. code-block:: cmake
- # Old Interface:
+ # Old Interfaces:
set_property(TARGET tgt APPEND PROPERTY
COMPILE_DEFINITIONS_DEBUG DEBUG_MODE
)
+ set_property(DIRECTORY APPEND PROPERTY
+ COMPILE_DEFINITIONS_DEBUG DIR_DEBUG_MODE
+ )
# New Interfaces:
set_property(TARGET tgt APPEND PROPERTY
COMPILE_DEFINITIONS $<$<CONFIG:Debug>:DEBUG_MODE>
)
target_compile_definitions(tgt PRIVATE $<$<CONFIG:Debug>:DEBUG_MODE>)
+ set_property(DIRECTORY APPEND PROPERTY
+ COMPILE_DEFINITIONS $<$<CONFIG:Debug>:DIR_DEBUG_MODE>
+ )
The OLD behavior for this policy is to consume the content of the suffixed
:prop_tgt:`COMPILE_DEFINITIONS_<CONFIG>` target property when generating the