mirror of
https://github.com/reactos/CMake.git
synced 2025-01-05 18:38:46 +00:00
5e62444cff
Create a <LANG>_CLANG_TIDY target property (initialized by a CMAKE_<LANG>_CLANG_TIDY variable) to specify a clang-tidy command line to be run along with the compiler.
4 lines
100 B
CMake
4 lines
100 B
CMake
enable_language(C)
|
|
set(CMAKE_C_CLANG_TIDY "${PSEUDO_TIDY}" -some -args)
|
|
add_executable(main main.c)
|