Imported Upstream version 3.25.0
[platform/upstream/cmake.git] / Tests / RunCMake / ClangTidy / compdb.cmake
1 enable_language(C)
2
3 # Include a --checks option to confirm that we don't match options that start
4 # with --, only a standalone --
5 set(CMAKE_C_CLANG_TIDY "${PSEUDO_TIDY}" -p ${CMAKE_BINARY_DIR} --checks=*)
6
7 add_executable(main main.c)