Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Kitware
GitHub Repository: Kitware/CMake
Path: blob/master/Help/command/elseif.rst
5015 views
elseif
------

Starts an elseif portion of an if block.

.. code-block:: cmake

  elseif(<condition>)

See the :command:`if` command, especially for the syntax and logic
of the ``<condition>``.