• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1COMPILE_DEFINITIONS_<CONFIG>
2----------------------------
3
4Ignored.  See CMake Policy :policy:`CMP0043`.
5
6Per-configuration preprocessor definitions in a directory.
7
8This is the configuration-specific version of :prop_dir:`COMPILE_DEFINITIONS`
9where ``<CONFIG>`` is an upper-case name (ex. ``COMPILE_DEFINITIONS_DEBUG``).
10
11This property will be initialized in each directory by its value in
12the directory's parent.
13
14Contents of ``COMPILE_DEFINITIONS_<CONFIG>`` may use "generator expressions"
15with the syntax ``$<...>``.  See the :manual:`cmake-generator-expressions(7)`
16manual for available expressions.  See the :manual:`cmake-buildsystem(7)`
17manual for more on defining buildsystem properties.
18
19Generator expressions should be preferred instead of setting this property.
20