summaryrefslogtreecommitdiffstats
path: root/Help/prop_tgt
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:10 (GMT)
commitb6ffca53f8cda7c0f6712895537aea60461307f4 (patch)
tree283ad05a60685d2fbd0306cf48bfcb36e0b7db75 /Help/prop_tgt
parent294e3cf7fffbc340be859d327ff9d4df309bf4fb (diff)
parent41f15193e5adfaaf9990b2d8d81bb0ec6c05572c (diff)
downloadCMake-b6ffca53f8cda7c0f6712895537aea60461307f4.zip
CMake-b6ffca53f8cda7c0f6712895537aea60461307f4.tar.gz
CMake-b6ffca53f8cda7c0f6712895537aea60461307f4.tar.bz2
Merge topic 'verify-interface-header-sets-interface-library-source-language'
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')
-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`.