blob: de9571a4152212fdc5536745de59e555bfe260cc [file] [edit]
COMMAND_CONFIG
--------------
.. versionadded:: 3.20
.. |genex-family| replace:: :ref:`genex-family-configuration-expressions`
.. include:: ../manual/include/GENEX_FAMILY.rst
.. code-block:: cmake
$<COMMAND_CONFIG:...>
Only valid in :command:`add_custom_command` and :command:`add_custom_target` as
the outer-most generator expression in an argument. With the :generator:`Ninja
Multi-Config` generator, generator expressions in ``...`` are evaluated using
the custom command's "command config". With other generators, the content of
``...`` is evaluated normally.