summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2023-12-05 14:26:45 (GMT)
committerKitware Robot <kwrobot@kitware.com>2023-12-05 14:26:52 (GMT)
commit21e30404cdd32c11683730aaa264e34ee01eaf05 (patch)
treeade397fecbc0d93cd68bff038dcd3db77b018fc7
parentcfd25cb91f6cb46659f53581182a933b3fc40d63 (diff)
parent7fc6d7247a0cf4aa2379dc4e44536d628612f8d4 (diff)
downloadCMake-21e30404cdd32c11683730aaa264e34ee01eaf05.zip
CMake-21e30404cdd32c11683730aaa264e34ee01eaf05.tar.gz
CMake-21e30404cdd32c11683730aaa264e34ee01eaf05.tar.bz2
Merge topic 'fix-doc-add_library-INTERFACE-EXCLUDE_FROM_ALL'
7fc6d7247a Help: Fix signature of add_library(<name> INTERFACE EXCLUDE_FROM_ALL) Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9031
-rw-r--r--Help/command/add_library.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Help/command/add_library.rst b/Help/command/add_library.rst
index 07c8bab..80d5dee 100644
--- a/Help/command/add_library.rst
+++ b/Help/command/add_library.rst
@@ -144,7 +144,7 @@ itself and is not included as a target in the generated buildsystem.
.. code-block:: cmake
- add_library(<name> INTERFACE [<source>...] [EXCLUDE_FROM_ALL])
+ add_library(<name> INTERFACE [EXCLUDE_FROM_ALL] [<source>...])
Source files may be listed directly in the ``add_library`` call or added
later by calls to :command:`target_sources` with the ``PRIVATE`` or