summaryrefslogtreecommitdiffstats
path: root/Help/command/target_sources.rst
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2021-11-05 14:24:12 (GMT)
committerBrad King <brad.king@kitware.com>2021-11-05 14:24:12 (GMT)
commite0a66059d409e06cea67455b66e13913fc6cf272 (patch)
tree92adf7772057b826b3dbb5676977ab321410e79a /Help/command/target_sources.rst
parent79d379fba6e50cfbbb392e2e67fc71477c92b14f (diff)
downloadCMake-e0a66059d409e06cea67455b66e13913fc6cf272.zip
CMake-e0a66059d409e06cea67455b66e13913fc6cf272.tar.gz
CMake-e0a66059d409e06cea67455b66e13913fc6cf272.tar.bz2
Help: Fix target_sources FILE_SET signature summary
The `FILE_SET <set>` argument is required to activate this signature.
Diffstat (limited to 'Help/command/target_sources.rst')
-rw-r--r--Help/command/target_sources.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Help/command/target_sources.rst b/Help/command/target_sources.rst
index a09226f..f4833e7 100644
--- a/Help/command/target_sources.rst
+++ b/Help/command/target_sources.rst
@@ -68,8 +68,8 @@ File Sets
.. code-block:: cmake
target_sources(<target>
- <INTERFACE|PUBLIC|PRIVATE> [FILE_SET set1] [TYPE type1] [BASE_DIRS dirs1...] [FILES files1...]
- [<INTERFACE|PUBLIC|PRIVATE> [FILE_SET set2] [TYPE type2] [BASE_DIRS dirs2...] [FILES files2...])
+ <INTERFACE|PUBLIC|PRIVATE> FILE_SET set1 [TYPE type1] [BASE_DIRS dirs1...] [FILES files1...]
+ [<INTERFACE|PUBLIC|PRIVATE> FILE_SET set2 [TYPE type2] [BASE_DIRS dirs2...] [FILES files2...])
Adds a file set to a target, or adds files to an existing file set. Targets
have zero or more named file sets. Each file set has a name, a type, a scope of