summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/Cppcheck/C-error.cmake
blob: 2254d7511f695a2cd9e4633868fb4054c7c9ca45 (plain)
1
2
3
enable_language(C)
set(CMAKE_C_CPPCHECK "${PSEUDO_CPPCHECK}" -error)
add_executable(main main.c)