summaryrefslogtreecommitdiffstats
path: root/Help
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2022-07-28 12:11:51 (GMT)
committerKitware Robot <kwrobot@kitware.com>2022-07-28 12:12:09 (GMT)
commit12830cc2a9a62470bcca9e06ced3ee8b370a2bd5 (patch)
tree7eeb9e2b901c0e58e73cb62e4de6cd7c39db8414 /Help
parent75647fc53dace97d4dd03f8d5a1abfb995b4558d (diff)
parent41f15193e5adfaaf9990b2d8d81bb0ec6c05572c (diff)
downloadCMake-12830cc2a9a62470bcca9e06ced3ee8b370a2bd5.zip
CMake-12830cc2a9a62470bcca9e06ced3ee8b370a2bd5.tar.gz
CMake-12830cc2a9a62470bcca9e06ced3ee8b370a2bd5.tar.bz2
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')
-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 1cf4a69..1b3f878 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`.