blob: 6567c75d00d1f524158df1d635c2b3c17b58005c [file] [edit]
JOIN
----
.. |genex-family| replace:: :ref:`genex-family-genex-list-transformations`
.. include:: ../manual/include/GENEX_FAMILY.rst
.. code-block:: cmake
$<JOIN:list,glue>
Joins the ``list`` with the content of the ``glue`` string inserted between each
item. This is conceptually the same operation as
:genex:`$<LIST:JOIN,list,glue> <LIST:JOIN>`, but the two have different
behavior with regard to empty items. :genex:`$<LIST:JOIN,list,glue>
<LIST:JOIN>` preserves all empty items, whereas ``$<JOIN:list,glue>`` drops all
empty items from the list.