diff options
author | Kyle Edwards <kyle.edwards@kitware.com> | 2022-03-03 18:07:10 (GMT) |
---|---|---|
committer | Kyle Edwards <kyle.edwards@kitware.com> | 2022-03-03 19:31:54 (GMT) |
commit | 8c23ecbd93eb86f7316cdeb2cdc561d28ee95de7 (patch) | |
tree | 30bfdd7c329ef4226629c32ad6deca399cc51994 /Help/command/target_sources.rst | |
parent | 04a7200c7561509a83c34f2af45b2d091ae59248 (diff) | |
download | CMake-8c23ecbd93eb86f7316cdeb2cdc561d28ee95de7.zip CMake-8c23ecbd93eb86f7316cdeb2cdc561d28ee95de7.tar.gz CMake-8c23ecbd93eb86f7316cdeb2cdc561d28ee95de7.tar.bz2 |
target_sources(): Process multiple FILE_SET arguments per block
Fixes: #23287
Diffstat (limited to 'Help/command/target_sources.rst')
-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 e482117..234f5be 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 |