diff options
author | Kyle Edwards <kyle.edwards@kitware.com> | 2022-05-25 18:33:38 (GMT) |
---|---|---|
committer | Kyle Edwards <kyle.edwards@kitware.com> | 2022-05-25 18:37:27 (GMT) |
commit | aadaac7f6dff05c90b61079d70e304d157ea9bab (patch) | |
tree | 620bdfa228029ece66b674bf9d06272e0ca867d1 /Help/prop_tgt | |
parent | 5dcf505f63037e23094146730704b031c57c5d06 (diff) | |
download | CMake-aadaac7f6dff05c90b61079d70e304d157ea9bab.zip CMake-aadaac7f6dff05c90b61079d70e304d157ea9bab.tar.gz CMake-aadaac7f6dff05c90b61079d70e304d157ea9bab.tar.bz2 |
VERIFY_INTERFACE_HEADER_SETS: Add property for list of header sets
Add a new property, INTERFACE_HEADER_SETS_TO_VERIFY, which contains
a list of header sets that should be verified by
VERIFY_INTERFACE_HEADER_SETS.
Fixes: #23522
Diffstat (limited to 'Help/prop_tgt')
-rw-r--r-- | Help/prop_tgt/INTERFACE_HEADER_SETS_TO_VERIFY.rst | 13 | ||||
-rw-r--r-- | Help/prop_tgt/VERIFY_INTERFACE_HEADER_SETS.rst | 3 |
2 files changed, 16 insertions, 0 deletions
diff --git a/Help/prop_tgt/INTERFACE_HEADER_SETS_TO_VERIFY.rst b/Help/prop_tgt/INTERFACE_HEADER_SETS_TO_VERIFY.rst new file mode 100644 index 0000000..b0d63f3 --- /dev/null +++ b/Help/prop_tgt/INTERFACE_HEADER_SETS_TO_VERIFY.rst @@ -0,0 +1,13 @@ +INTERFACE_HEADER_SETS_TO_VERIFY +------------------------------- + +.. versionadded:: 3.24 + +Used to specify which ``PUBLIC`` and ``INTERFACE`` header sets of a target +should be verified. + +This property contains a semicolon-separated list of header sets which +should be verified if :prop_tgt:`VERIFY_INTERFACE_HEADER_SETS` is set to +``TRUE``. If the list is empty, all ``PUBLIC`` and ``INTERFACE`` header sets +are verified. (If the project does not want to verify any header sets on the +target, simply set :prop_tgt:`VERIFY_INTERFACE_HEADER_SETS` to ``FALSE``.) diff --git a/Help/prop_tgt/VERIFY_INTERFACE_HEADER_SETS.rst b/Help/prop_tgt/VERIFY_INTERFACE_HEADER_SETS.rst index d8045c6..30c02f5 100644 --- a/Help/prop_tgt/VERIFY_INTERFACE_HEADER_SETS.rst +++ b/Help/prop_tgt/VERIFY_INTERFACE_HEADER_SETS.rst @@ -23,3 +23,6 @@ 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. + +If the project wishes to control which header sets are verified by this +property, you can set :prop_tgt:`INTERFACE_HEADER_SETS_TO_VERIFY`. |