Files
CMake/Help/prop_sf/COMPILE_DEFINITIONS_CONFIG.rst
Brad King 1bb0066b0c Help: Clarify deprecation of source-file property COMPILE_DEFINITIONS_<CONFIG>
It is not covered by policy `CMP0043`.  Also fix its link
to the `COMPILE_DEFINITIONS` source file property.
2025-01-19 09:41:02 -05:00

15 lines
512 B
ReStructuredText

COMPILE_DEFINITIONS_<CONFIG>
----------------------------
.. deprecated:: 3.0
Prefer the :prop_sf:`COMPILE_DEFINITIONS` source-file property with
:manual:`generator expressions <cmake-generator-expressions(7)>`.
Per-configuration preprocessor definitions on a source file.
This is the configuration-specific version of :prop_sf:`COMPILE_DEFINITIONS`.
Note that :generator:`Xcode` does not support per-configuration source
file flags so this property will be ignored by the :generator:`Xcode` generator.