summaryrefslogtreecommitdiffstats
path: root/Help/release/dev/custom-command-output-genex.rst
blob: 471713a97741268ad9615f43943d9c00e65da3c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
custom-command-output-genex
---------------------------

* :command:`add_custom_command` and :command:`add_custom_target` now
  support :manual:`generator expressions <cmake-generator-expressions(7)>`
  in their ``OUTPUT`` and ``BYPRODUCTS`` options.

  Their ``COMMAND``, ``WORKING_DIRECTORY``, and ``DEPENDS`` options gained
  support for new generator expressions ``$<COMMAND_CONFIG:...>`` and
  ``$<OUTPUT_CONFIG:...>`` that control cross-config handling when using
  the :generator:`Ninja Multi-Config` generator.