mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
It is not covered by policy `CMP0043`. Also fix its link to the `COMPILE_DEFINITIONS` source file property.
15 lines
512 B
ReStructuredText
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.
|