diff options
author | Brad King <brad.king@kitware.com> | 2022-03-02 12:45:51 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2022-03-02 12:45:58 (GMT) |
commit | 1ed1edbfd1474f8ba9356e49e36ad6672bc5826b (patch) | |
tree | 4049a41d311c66644b267425749dfaf6edfc01b6 /Help | |
parent | 0a4da33f8c882200d705bfcfa16e88f9de47ce04 (diff) | |
parent | ad41c9cd1161bb3d19bc1db8a20a7b7e87665f3a (diff) | |
download | CMake-1ed1edbfd1474f8ba9356e49e36ad6672bc5826b.zip CMake-1ed1edbfd1474f8ba9356e49e36ad6672bc5826b.tar.gz CMake-1ed1edbfd1474f8ba9356e49e36ad6672bc5826b.tar.bz2 |
Merge topic 'file-set-no-custom-targets'
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.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 |