summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/MultiLint/C.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/MultiLint/C.cmake')
-rw-r--r--Tests/RunCMake/MultiLint/C.cmake6
1 files changed, 6 insertions, 0 deletions
diff --git a/Tests/RunCMake/MultiLint/C.cmake b/Tests/RunCMake/MultiLint/C.cmake
new file mode 100644
index 0000000..495d6f0
--- /dev/null
+++ b/Tests/RunCMake/MultiLint/C.cmake
@@ -0,0 +1,6 @@
+enable_language(C)
+set(CMAKE_C_INCLUDE_WHAT_YOU_USE "${PSEUDO_IWYU}" -some -args)
+set(CMAKE_C_CLANG_TIDY "${PSEUDO_TIDY}" -some -args)
+set(CMAKE_C_CPPLINT "${PSEUDO_CPPLINT}" --verbose=0 --linelength=80)
+set(CMAKE_C_CPPCHECK "${PSEUDO_CPPCHECK}")
+add_executable(main main.c)