summaryrefslogtreecommitdiffstats
path: root/Help/prop_sf
diff options
context:
space:
mode:
authorMarc Chevrier <marc.chevrier@gmail.com>2022-12-08 13:52:56 (GMT)
committerMarc Chevrier <marc.chevrier@gmail.com>2022-12-13 15:54:56 (GMT)
commit7480fa0a5fd0ebc3fe06c702f3368e06a50c10ab (patch)
tree1b2e7a5a5a2a6297a763385535c233817f53d5e8 /Help/prop_sf
parentff875ed8591afdb87055b8e43b1fcd04438a4d1e (diff)
downloadCMake-7480fa0a5fd0ebc3fe06c702f3368e06a50c10ab.zip
CMake-7480fa0a5fd0ebc3fe06c702f3368e06a50c10ab.tar.gz
CMake-7480fa0a5fd0ebc3fe06c702f3368e06a50c10ab.tar.bz2
COMPILE_DEFINITIONS property: ensure leading -D is removed in all cases
Fixes: #24186
Diffstat (limited to 'Help/prop_sf')
-rw-r--r--Help/prop_sf/COMPILE_DEFINITIONS.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Help/prop_sf/COMPILE_DEFINITIONS.rst b/Help/prop_sf/COMPILE_DEFINITIONS.rst
index 6317690..2af896e 100644
--- a/Help/prop_sf/COMPILE_DEFINITIONS.rst
+++ b/Help/prop_sf/COMPILE_DEFINITIONS.rst
@@ -16,6 +16,9 @@ CMake will automatically drop some definitions that are not supported
by the native build tool. Xcode does not support per-configuration
definitions on source files.
+.. versionadded:: 3.26
+ Any leading ``-D`` on an item will be removed.
+
.. include:: /include/COMPILE_DEFINITIONS_DISCLAIMER.txt
Contents of ``COMPILE_DEFINITIONS`` may use :manual:`cmake-generator-expressions(7)`