Przeglądaj źródła

Merge topic 'doc-project-none'

9dd2dd5b77 Help: Restore project command docs for default languages and NONE

Acked-by: Kitware Robot <[email protected]>
Acked-by: Robert Maynard <[email protected]>
Merge-request: !8585
Brad King 2 lat temu
rodzic
commit
9189a59f8b
2 zmienionych plików z 3 dodań i 4 usunięć
  1. 0 4
      Help/command/enable_language.rst
  2. 3 0
      Help/command/project.rst

+ 0 - 4
Help/command/enable_language.rst

@@ -13,10 +13,6 @@ variables that are created by the project command.
 
 .. include:: SUPPORTED_LANGUAGES.txt
 
-By default ``C`` and ``CXX`` are enabled if no language options are given.
-Specify language ``NONE``, or use the ``LANGUAGES`` keyword and list no languages,
-to skip enabling any languages.
-
 This command must be called in file scope, not in a function call.
 Furthermore, it must be called in the highest directory common to all
 targets using the named language directly for compiling sources or

+ 3 - 0
Help/command/project.rst

@@ -105,6 +105,9 @@ The options are:
 
 .. include:: SUPPORTED_LANGUAGES.txt
 
+By default ``C`` and ``CXX`` are enabled if no language options are given.
+Specify language ``NONE``, or use the ``LANGUAGES`` keyword and list no languages,
+to skip enabling any languages.
 
 The variables set through the ``VERSION``, ``DESCRIPTION`` and ``HOMEPAGE_URL``
 options are intended for use as default values in package metadata and documentation.