COMPILE_DEFINITIONS_CONFIG.rst 678 B

12345678910111213141516
  1. COMPILE_DEFINITIONS_<CONFIG>
  2. ----------------------------
  3. Ignored. See CMake Policy :policy:`CMP0043`.
  4. Per-configuration preprocessor definitions on a target.
  5. This is the configuration-specific version of :prop_tgt:`COMPILE_DEFINITIONS`
  6. where ``<CONFIG>`` is an upper-case name (ex. ``COMPILE_DEFINITIONS_DEBUG``).
  7. Contents of ``COMPILE_DEFINITIONS_<CONFIG>`` may use "generator expressions"
  8. with the syntax ``$<...>``. See the :manual:`cmake-generator-expressions(7)`
  9. manual for available expressions. See the :manual:`cmake-buildsystem(7)`
  10. manual for more on defining buildsystem properties.
  11. Generator expressions should be preferred instead of setting this property.