COMPILE_DEFINITIONS_<CONFIG> — CMake 4.1.4 Documentation

# COMPILE_DEFINITIONS_<CONFIG>

Deprecated since version 3.0: Prefer the `COMPILE_DEFINITIONS` source-file property with `generator expressions`.

Per-configuration preprocessor definitions on a source file.

This is the configuration-specific version of `COMPILE_DEFINITIONS`.

Note that `Xcode` does not support per-configuration source file flags so this property will be ignored by the `Xcode` generator.