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
This commit is contained in:
Brad King
2022-03-04 14:09:26 +00:00
committed by Kitware Robot
8 changed files with 30 additions and 4 deletions
+2 -1
View File
@@ -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>``