blob: 7e873569bec341bb09f4471fa78373a784e55675 [file] [edit]
OR
--
.. |genex-family| replace:: :ref:`genex-family-boolean-generator-expressions`
.. include:: ../manual/include/GENEX_FAMILY.rst
Syntax
^^^^^^
.. code-block:: cmake
$<OR:conditions>
where ``conditions`` is a comma-separated list of boolean expressions. all of
which must evaluate to either ``1`` or ``0``. The whole expression evaluates to
``1`` if at least one of the ``conditions`` is ``1``. If all ``conditions``
evaluate to ``0``, the whole expression evaluates to ``0``.