diff options
author | Brad King <brad.king@kitware.com> | 2022-07-28 12:11:51 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2022-07-28 12:12:09 (GMT) |
commit | 12830cc2a9a62470bcca9e06ced3ee8b370a2bd5 (patch) | |
tree | 7eeb9e2b901c0e58e73cb62e4de6cd7c39db8414 /Help | |
parent | 75647fc53dace97d4dd03f8d5a1abfb995b4558d (diff) | |
parent | 41f15193e5adfaaf9990b2d8d81bb0ec6c05572c (diff) | |
download | CMake-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.rst | 4 |
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`. |