diff options
Diffstat (limited to 'Help/command/endif.rst')
-rw-r--r-- | Help/command/endif.rst | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/Help/command/endif.rst b/Help/command/endif.rst new file mode 100644 index 0000000..fc4f038 --- /dev/null +++ b/Help/command/endif.rst @@ -0,0 +1,14 @@ +endif +----- + +Ends a list of commands in an if block. + +.. code-block:: cmake + + endif([<condition>]) + +See the :command:`if` command. + +The optional ``<condition>`` argument is supported for backward compatibility +only. If used it must be a verbatim repeat of the argument of the opening +``if`` clause. |