Help: Clarify that VERIFY_INTERFACE_HEADER_SETS supports interface libraries

This commit is contained in:
Kyle Edwards
2022-07-25 13:22:43 -04:00
parent 22c5352990
commit f5dd1817d1
@@ -7,13 +7,13 @@ Used to verify that all headers in a target's ``PUBLIC`` and ``INTERFACE``
header sets can be included on their own. header sets can be included on their own.
When this property is set to true, and the target is an object library, static When this property is set to true, and the target is an object library, static
library, shared library, or executable with exports enabled, and the target library, shared library, interface library, or executable with exports enabled,
has one or more ``PUBLIC`` or ``INTERFACE`` header sets, an object library and the target has one or more ``PUBLIC`` or ``INTERFACE`` header sets, an
target named ``<target_name>_verify_interface_header_sets`` is created. This object library target named ``<target_name>_verify_interface_header_sets`` is
verification target has one source file per header in the ``PUBLIC`` and created. This verification target has one source file per header in the
``INTERFACE`` header sets. Each source file only includes its associated ``PUBLIC`` and ``INTERFACE`` header sets. Each source file only includes its
header file. The verification target links against the original target to get associated header file. The verification target links against the original
all of its usage requirements. The verification target has its target to get all of its usage requirements. The verification target has its
:prop_tgt:`EXCLUDE_FROM_ALL` and :prop_tgt:`DISABLE_PRECOMPILE_HEADERS` :prop_tgt:`EXCLUDE_FROM_ALL` and :prop_tgt:`DISABLE_PRECOMPILE_HEADERS`
properties set to true, and its :prop_tgt:`AUTOMOC`, :prop_tgt:`AUTORCC`, properties set to true, and its :prop_tgt:`AUTOMOC`, :prop_tgt:`AUTORCC`,
:prop_tgt:`AUTOUIC`, and :prop_tgt:`UNITY_BUILD` properties set to false. :prop_tgt:`AUTOUIC`, and :prop_tgt:`UNITY_BUILD` properties set to false.