diff options
author | Kyle Edwards <kyle.edwards@kitware.com> | 2023-06-06 14:51:19 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2023-06-06 14:51:27 (GMT) |
commit | af69d59b097baf9e5293e7f84a1cac91278e7220 (patch) | |
tree | 69407d91a8a54ba06d3b8c045677721a852f1718 /Source | |
parent | ec472999dcbfdf11457442268e2e300d4251bac9 (diff) | |
parent | 36ec89639ad84e194446795e36b69ab19e57e731 (diff) | |
download | CMake-af69d59b097baf9e5293e7f84a1cac91278e7220.zip CMake-af69d59b097baf9e5293e7f84a1cac91278e7220.tar.gz CMake-af69d59b097baf9e5293e7f84a1cac91278e7220.tar.bz2 |
Merge topic 'verify-interface-header-sets-skip-linting'
36ec89639a VERIFY_INTERFACE_HEADER_SETS: Skip header files that have SKIP_LINTING
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !8540
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmGeneratorTarget.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/cmGeneratorTarget.cxx b/Source/cmGeneratorTarget.cxx index 3cefeda..357d0a6 100644 --- a/Source/cmGeneratorTarget.cxx +++ b/Source/cmGeneratorTarget.cxx @@ -8796,6 +8796,10 @@ std::string cmGeneratorTarget::GenerateHeaderSetVerificationFile( std::string extension; std::string language = source.GetOrDetermineLanguage(); + if (source.GetPropertyAsBool("SKIP_LINTING")) { + return std::string{}; + } + if (language.empty()) { if (!languages) { languages.emplace(); |