blob: 8c2169757300b2bb05ae0d4cf2e75ef06e46117c [file] [edit]
ARGS
----
.. versionadded:: 4.5
.. |genex-family| replace:: :ref:`genex-family-support-expressions`
.. include:: ../manual/include/GENEX_FAMILY.rst
.. code-block:: cmake
$<ARGS:cmake-list>
Transform a :ref:`semicolon-separated list <CMake Language Lists>` into a
comma-separated list as expected by many generator expressions.
.. code-block:: cmake
# check if the current config is a debug one
## Converting a cmake list by hand does not give the expected result
$<CONFIG:$<LIST:JOIN,$<GLOBAL_PROPERTY:DEBUG_CONFIGURATIONS>,$<COMMA>>>
## correct way to proceed
$<CONFIG:$<ARGS:$<GLOBAL_PROPERTY:DEBUG_CONFIGURATIONS>>>