diff options
author | Kyle Edwards <kyle.edwards@kitware.com> | 2023-06-05 20:42:12 (GMT) |
---|---|---|
committer | Kyle Edwards <kyle.edwards@kitware.com> | 2023-06-06 14:45:22 (GMT) |
commit | 36ec89639ad84e194446795e36b69ab19e57e731 (patch) | |
tree | 106e619e527997387b09122fc5d513f6107af4c9 /Source | |
parent | 3760ac9845e3c0d163eb1b4d83ab5b2f367507aa (diff) | |
download | CMake-36ec89639ad84e194446795e36b69ab19e57e731.zip CMake-36ec89639ad84e194446795e36b69ab19e57e731.tar.gz CMake-36ec89639ad84e194446795e36b69ab19e57e731.tar.bz2 |
VERIFY_INTERFACE_HEADER_SETS: Skip header files that have SKIP_LINTING
Fixes: #24972
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(); |