diff options
author | Kyle Edwards <kyle.edwards@kitware.com> | 2022-04-13 14:12:35 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2022-04-14 13:17:54 (GMT) |
commit | d0d09aa29fa354bc13a925655c0d191bbadd4c6a (patch) | |
tree | 7edfc176da81146fd401e52a66675323559bea09 /Help | |
parent | efe08e289466683b0945a5396f6848064dec5ae0 (diff) | |
download | CMake-d0d09aa29fa354bc13a925655c0d191bbadd4c6a.zip CMake-d0d09aa29fa354bc13a925655c0d191bbadd4c6a.tar.gz CMake-d0d09aa29fa354bc13a925655c0d191bbadd4c6a.tar.bz2 |
FILE_SET: Make INTERFACE libraries with HEADER_SETS participate in buildsystem
If an INTERFACE library has HEADER_SETS, and its header sets contain
files generated by a custom command, the library needs to participate in
the buildsystem so that the files will be generated.
Fixes: #23422
Diffstat (limited to 'Help')
-rw-r--r-- | Help/command/add_library.rst | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Help/command/add_library.rst b/Help/command/add_library.rst index 1235155..7dc4365 100644 --- a/Help/command/add_library.rst +++ b/Help/command/add_library.rst @@ -151,6 +151,7 @@ itself and is not included as a target in the generated buildsystem. ``PUBLIC`` keywords. If an interface library has source files (i.e. the :prop_tgt:`SOURCES` + target property is set), or header sets (i.e. the :prop_tgt:`HEADER_SETS` target property is set), it will appear in the generated buildsystem as a build target much like a target defined by the :command:`add_custom_target` command. It does not compile any sources, |