
This adds a brief explanation of the optional condition in the `else()` and removes all legacy usages of `else()` and `end*()` commands.
14 lines
235 B
ReStructuredText
14 lines
235 B
ReStructuredText
else
|
|
----
|
|
|
|
Starts the else portion of an if block.
|
|
|
|
.. code-block:: cmake
|
|
|
|
else([<condition>])
|
|
|
|
See the :command:`if` command.
|
|
|
|
The optional ``<condition>`` argument is supported for backward compatibility
|
|
only and is not evaluated.
|