diff options
author | Marc Chevrier <marc.chevrier@gmail.com> | 2022-12-08 13:52:56 (GMT) |
---|---|---|
committer | Marc Chevrier <marc.chevrier@gmail.com> | 2022-12-13 15:54:56 (GMT) |
commit | 7480fa0a5fd0ebc3fe06c702f3368e06a50c10ab (patch) | |
tree | 1b2e7a5a5a2a6297a763385535c233817f53d5e8 /Help/prop_sf | |
parent | ff875ed8591afdb87055b8e43b1fcd04438a4d1e (diff) | |
download | CMake-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.rst | 3 |
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)` |