summaryrefslogtreecommitdiff
path: root/Help/prop_tgt/VERIFY_INTERFACE_HEADER_SETS.rst
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2022-07-28 12:11:51 +0000
committerKitware Robot <kwrobot@kitware.com>2022-07-28 08:12:09 -0400
commit12830cc2a9a62470bcca9e06ced3ee8b370a2bd5 (patch)
tree7eeb9e2b901c0e58e73cb62e4de6cd7c39db8414 /Help/prop_tgt/VERIFY_INTERFACE_HEADER_SETS.rst
parent75647fc53dace97d4dd03f8d5a1abfb995b4558d (diff)
parent41f15193e5adfaaf9990b2d8d81bb0ec6c05572c (diff)
downloadcmake-12830cc2a9a62470bcca9e06ced3ee8b370a2bd5.tar.gz
Merge topic 'verify-interface-header-sets-interface-library-source-language' into release-3.24
41f15193e5 VERIFY_INTERFACE_HEADER_SETS: Fall back to global languages Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !7517
Diffstat (limited to 'Help/prop_tgt/VERIFY_INTERFACE_HEADER_SETS.rst')
-rw-r--r--Help/prop_tgt/VERIFY_INTERFACE_HEADER_SETS.rst4
1 files changed, 3 insertions, 1 deletions
diff --git a/Help/prop_tgt/VERIFY_INTERFACE_HEADER_SETS.rst b/Help/prop_tgt/VERIFY_INTERFACE_HEADER_SETS.rst
index 1cf4a699d1..1b3f8785ec 100644
--- a/Help/prop_tgt/VERIFY_INTERFACE_HEADER_SETS.rst
+++ b/Help/prop_tgt/VERIFY_INTERFACE_HEADER_SETS.rst
@@ -22,7 +22,9 @@ 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.
+Otherwise, if C++ is enabled globally, the header is compiled as C++.
+Otherwise, if C is enabled globally, 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`.