diff options
author | Kyle Edwards <kyle.edwards@kitware.com> | 2022-05-18 14:14:02 (GMT) |
---|---|---|
committer | Kyle Edwards <kyle.edwards@kitware.com> | 2022-05-18 14:18:40 (GMT) |
commit | 259c2651126d3087ddf377569de912a7f42e68f0 (patch) | |
tree | 24002d5fc1aab5d51b95bb13ac07246cae158744 /Help/prop_tgt | |
parent | 58446c84e47ca8da0ef161ac82f5cc5769377d52 (diff) | |
download | CMake-259c2651126d3087ddf377569de912a7f42e68f0.zip CMake-259c2651126d3087ddf377569de912a7f42e68f0.tar.gz CMake-259c2651126d3087ddf377569de912a7f42e68f0.tar.bz2 |
VERIFY_HEADER_SETS: Rename to VERIFY_INTERFACE_HEADER_SETS
Issue: #23448
Diffstat (limited to 'Help/prop_tgt')
-rw-r--r-- | Help/prop_tgt/VERIFY_HEADER_SETS.rst | 25 | ||||
-rw-r--r-- | Help/prop_tgt/VERIFY_INTERFACE_HEADER_SETS.rst | 25 |
2 files changed, 25 insertions, 25 deletions
diff --git a/Help/prop_tgt/VERIFY_HEADER_SETS.rst b/Help/prop_tgt/VERIFY_HEADER_SETS.rst deleted file mode 100644 index e151017..0000000 --- a/Help/prop_tgt/VERIFY_HEADER_SETS.rst +++ /dev/null @@ -1,25 +0,0 @@ -VERIFY_HEADER_SETS ------------------- - -.. versionadded:: 3.24 - -Used to verify that all headers in a target's header sets can be included on -their own. - -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 -has one or more ``PUBLIC`` or ``INTERFACE`` header sets, an object library -target named ``<target_name>_verify_header_sets`` is created. This verification -target has one source file per header in the ``PUBLIC`` and ``INTERFACE`` -header sets. Each source file only includes its associated header file. The -verification target links against the original target to get all of its usage -requirements. The verification target has its :prop_tgt:`EXCLUDE_FROM_ALL` and -:prop_tgt:`DISABLE_PRECOMPILE_HEADERS` properties set to true, and its -:prop_tgt:`AUTOMOC`, :prop_tgt:`AUTORCC`, :prop_tgt:`AUTOUIC`, and -:prop_tgt:`UNITY_BUILD` properties set to false. - -If the header's :prop_sf:`LANGUAGE` property is set, the value of that property -is used to determine the language with which to compile the header file. -Otherwise, if the target has any C++ sources, the header is compiled as C++. -Otherwise, if the target has any C sources, the header is compiled as C. -Otherwise, the header file is not compiled. diff --git a/Help/prop_tgt/VERIFY_INTERFACE_HEADER_SETS.rst b/Help/prop_tgt/VERIFY_INTERFACE_HEADER_SETS.rst new file mode 100644 index 0000000..d8045c6 --- /dev/null +++ b/Help/prop_tgt/VERIFY_INTERFACE_HEADER_SETS.rst @@ -0,0 +1,25 @@ +VERIFY_INTERFACE_HEADER_SETS +---------------------------- + +.. versionadded:: 3.24 + +Used to verify that all headers in a target's ``PUBLIC`` and ``INTERFACE`` +header sets can be included on their own. + +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 +has one or more ``PUBLIC`` or ``INTERFACE`` header sets, an object library +target named ``<target_name>_verify_interface_header_sets`` is created. This +verification target has one source file per header in the ``PUBLIC`` and +``INTERFACE`` header sets. Each source file only includes its associated +header file. The verification target links against the original target to get +all of its usage requirements. The verification target has its +:prop_tgt:`EXCLUDE_FROM_ALL` and :prop_tgt:`DISABLE_PRECOMPILE_HEADERS` +properties set to true, and its :prop_tgt:`AUTOMOC`, :prop_tgt:`AUTORCC`, +:prop_tgt:`AUTOUIC`, and :prop_tgt:`UNITY_BUILD` properties set to false. + +If the header's :prop_sf:`LANGUAGE` property is set, the value of that property +is used to determine the language with which to compile the header file. +Otherwise, if the target has any C++ sources, the header is compiled as C++. +Otherwise, if the target has any C sources, the header is compiled as C. +Otherwise, the header file is not compiled. |