diff options
author | Kyle Edwards <kyle.edwards@kitware.com> | 2022-03-03 13:07:10 -0500 |
---|---|---|
committer | Kyle Edwards <kyle.edwards@kitware.com> | 2022-03-03 14:31:54 -0500 |
commit | 8c23ecbd93eb86f7316cdeb2cdc561d28ee95de7 (patch) | |
tree | 30bfdd7c329ef4226629c32ad6deca399cc51994 /Help/command | |
parent | 04a7200c7561509a83c34f2af45b2d091ae59248 (diff) | |
download | cmake-8c23ecbd93eb86f7316cdeb2cdc561d28ee95de7.tar.gz |
target_sources(): Process multiple FILE_SET arguments per block
Fixes: #23287
Diffstat (limited to 'Help/command')
-rw-r--r-- | Help/command/target_sources.rst | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Help/command/target_sources.rst b/Help/command/target_sources.rst index e48211784a..234f5befec 100644 --- a/Help/command/target_sources.rst +++ b/Help/command/target_sources.rst @@ -68,8 +68,9 @@ 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 <set> [TYPE <type>] [BASE_DIRS <dirs>...] [FILES <files>...]]... + ]...) 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 |