CMake/Tests/RunCMake/MultiLint
Orkun Tokdemir 80df7b1745 Linting: Fix empty evaluated genex
Update logic added by commit 099934e313 (Add generator expression
support to static code analysis hooks, 2023-03-24, v3.27.0-rc1~261^2),
and preserved by commit 993dde925f (TargetGenerator: Factor out
generation of code check rules, 2023-05-12, v3.27.0-rc1~84^2~2), to
handle a generator expression that evaluates to the empty string.

If `<LANG>_CPPCHECK`, `<LANG>_CPPLINT`, `<LANG>_CLANG_TIDY`, or
`<LANG>_INCLUDE_WHAT_YOU_USE` are empty after evaluating generator
expressions, do not run their lints.

Fixes: #25265
2023-09-25 09:16:33 -04:00
..
C_skip_linting_OFF-Build-result.txt
C_skip_linting_OFF.cmake
C_skip_linting_ON.cmake
C-Build-stdout.txt
C-launch_skip_linting_ON.cmake
C-launch-Build-stdout.txt
C-launch.cmake
C.cmake
CMakeLists copy.txt
CMakeLists.txt
CXX_skip_linting_OFF-Build-result.txt
CXX_skip_linting_OFF.cmake
CXX_skip_linting_ON.cmake
CXX-Build-stdout.txt
CXX-launch_skip_linting_ON.cmake
CXX-launch-Build-stdout.txt
CXX-launch.cmake
CXX.cmake
genex.cmake Linting: Fix empty evaluated genex 2023-09-25 09:16:33 -04:00
main.c
main.cxx
RunCMakeTest.cmake Linting: Fix empty evaluated genex 2023-09-25 09:16:33 -04:00