summaryrefslogtreecommitdiffstats
path: root/Help/command
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2022-03-04 14:09:26 (GMT)
committerKitware Robot <kwrobot@kitware.com>2022-03-04 14:09:33 (GMT)
commit89457cb8f0df9e9571e804550fe61e1e9439d3d2 (patch)
tree896e2c53165d11a9d335afcf8340327a914fb423 /Help/command
parentd79f67e3d60822e4a85a8bc5272affb4e23b1808 (diff)
parentb357d334fc0c2f47ebc6a3a2b0ceba25d4818bb0 (diff)
downloadCMake-89457cb8f0df9e9571e804550fe61e1e9439d3d2.zip
CMake-89457cb8f0df9e9571e804550fe61e1e9439d3d2.tar.gz
CMake-89457cb8f0df9e9571e804550fe61e1e9439d3d2.tar.bz2
Merge topic 'file-set-name-requirements'
b357d334fc target_sources(): Enforce stricter requirements for FILE_SET name Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !7037
Diffstat (limited to 'Help/command')
-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 234f5be..3f8fdd9 100644
--- a/Help/command/target_sources.rst
+++ b/Help/command/target_sources.rst
@@ -92,7 +92,8 @@ Each ``target_sources(FILE_SET)`` entry starts with ``INTERFACE``, ``PUBLIC``, o
``FILE_SET <set>``
A string representing the name of the file set to create or add to. This must
- not start with a capital letter, unless its name is ``HEADERS``.
+ contain only numbers, letters, and underscores, and must not start with a
+ capital letter or underscore, unless its name is ``HEADERS``.
``TYPE <type>``