cmake/Help/command/elseif.rst

12 lines
194 B
ReStructuredText
Raw Normal View History

2014-08-03 19:52:23 +02:00
elseif
------
2019-11-11 23:01:05 +01:00
Starts an elseif portion of an if block.
2014-08-03 19:52:23 +02:00
2019-11-11 23:01:05 +01:00
.. code-block:: cmake
2014-08-03 19:52:23 +02:00
2019-11-11 23:01:05 +01:00
elseif(<condition>)
2014-08-03 19:52:23 +02:00
2019-11-11 23:01:05 +01:00
See the :command:`if` command, especially for the syntax and logic
of the ``<condition>``.