summaryrefslogtreecommitdiffstats
path: root/Help/command/enable_language.rst
diff options
context:
space:
mode:
authorfriendlyanon <friendlyanon_@hotmail.com>2022-06-29 20:25:08 (GMT)
committerfriendlyanon <friendlyanon_@hotmail.com>2022-06-30 21:37:15 (GMT)
commite3c8012ccd067c90408502eef7631badd60f67e0 (patch)
tree6a79b4339537330c75bb4203f655e16238a70c52 /Help/command/enable_language.rst
parentb4fd385c9b467182d3572854168e2afa037210bc (diff)
downloadCMake-e3c8012ccd067c90408502eef7631badd60f67e0.zip
CMake-e3c8012ccd067c90408502eef7631badd60f67e0.tar.gz
CMake-e3c8012ccd067c90408502eef7631badd60f67e0.tar.bz2
Help: Document enable_language accepting multiple languages
Diffstat (limited to 'Help/command/enable_language.rst')
-rw-r--r--Help/command/enable_language.rst9
1 files changed, 5 insertions, 4 deletions
diff --git a/Help/command/enable_language.rst b/Help/command/enable_language.rst
index d2acbc8..d9103b8 100644
--- a/Help/command/enable_language.rst
+++ b/Help/command/enable_language.rst
@@ -1,13 +1,14 @@
enable_language
---------------
-Enable a language (CXX/C/OBJC/OBJCXX/Fortran/etc)
+
+Enable languages (CXX/C/OBJC/OBJCXX/Fortran/etc)
.. code-block:: cmake
- enable_language(<lang> [OPTIONAL] )
+ enable_language(<lang>... [OPTIONAL])
-Enables support for the named language in CMake. This is
-the same as the :command:`project` command but does not create any of the extra
+Enables support for the named languages in CMake. This is the same as
+the :command:`project` command but does not create any of the extra
variables that are created by the project command. Example languages
are ``CXX``, ``C``, ``CUDA``, ``OBJC``, ``OBJCXX``, ``Fortran``,
``HIP``, ``ISPC``, and ``ASM``.