summaryrefslogtreecommitdiffstats
path: root/Help
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2022-03-02 12:45:51 (GMT)
committerKitware Robot <kwrobot@kitware.com>2022-03-02 12:45:57 (GMT)
commit66a7d2e222c3b8247f42b9eab02dbe42597a9d42 (patch)
treee53f4449ed59443d4482d92d218d5e9da9b78527 /Help
parent50d2d438ccf2bb9d5c6cc701e9cd2be6949a5c97 (diff)
parentad41c9cd1161bb3d19bc1db8a20a7b7e87665f3a (diff)
downloadCMake-66a7d2e222c3b8247f42b9eab02dbe42597a9d42.zip
CMake-66a7d2e222c3b8247f42b9eab02dbe42597a9d42.tar.gz
CMake-66a7d2e222c3b8247f42b9eab02dbe42597a9d42.tar.bz2
Merge topic 'file-set-no-custom-targets' into release-3.23
ad41c9cd11 target_sources(): Prohibit FILE_SET on custom targets Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !7027
Diffstat (limited to 'Help')
-rw-r--r--Help/command/target_sources.rst3
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