diff options
author | Kyle Edwards <kyle.edwards@kitware.com> | 2022-02-28 22:11:53 (GMT) |
---|---|---|
committer | Kyle Edwards <kyle.edwards@kitware.com> | 2022-02-28 22:21:04 (GMT) |
commit | ad41c9cd1161bb3d19bc1db8a20a7b7e87665f3a (patch) | |
tree | 5565417c0cce39155f0fe48076da98fe21247cee /Help | |
parent | 07a7772968a17e804fc7c450a0a3a00a7203410d (diff) | |
download | CMake-ad41c9cd1161bb3d19bc1db8a20a7b7e87665f3a.zip CMake-ad41c9cd1161bb3d19bc1db8a20a7b7e87665f3a.tar.gz CMake-ad41c9cd1161bb3d19bc1db8a20a7b7e87665f3a.tar.bz2 |
target_sources(): Prohibit FILE_SET on custom targets
Fixes: #23262
Diffstat (limited to 'Help')
-rw-r--r-- | Help/command/target_sources.rst | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Help/command/target_sources.rst b/Help/command/target_sources.rst index f4833e7..e482117 100644 --- a/Help/command/target_sources.rst +++ b/Help/command/target_sources.rst @@ -75,7 +75,8 @@ 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 ``INTERFACE``, ``PUBLIC``, or ``PRIVATE``, one or more base directories, and files within those directories. The only acceptable type is ``HEADERS``. The -optional default file sets are named after their type. +optional default file sets are named after their type. The target may not be a +custom target. Files in a ``PRIVATE`` or ``PUBLIC`` file set are marked as source files for the purposes of IDE integration. Additionally, files in ``HEADERS`` file sets |