mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-08 07:10:12 -05:00
80ebc55a7c
When using `<LANG>_CLANG_TIDY` our internal launcher for the tool must capture its return code and stderr and report them on failure. Otherwise incorrect command lines silently fail. Closes: #16435
4 lines
93 B
CMake
4 lines
93 B
CMake
enable_language(C)
|
|
set(CMAKE_C_CLANG_TIDY "${PSEUDO_TIDY}" -bad)
|
|
add_executable(main main.c)
|