summaryrefslogtreecommitdiff
path: root/Tests/RunCMake/Cppcheck/C.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/Cppcheck/C.cmake')
-rw-r--r--Tests/RunCMake/Cppcheck/C.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/Tests/RunCMake/Cppcheck/C.cmake b/Tests/RunCMake/Cppcheck/C.cmake
new file mode 100644
index 000000000..b1f5bf789
--- /dev/null
+++ b/Tests/RunCMake/Cppcheck/C.cmake
@@ -0,0 +1,4 @@
+
+enable_language(C)
+set(CMAKE_C_CPPCHECK "${PSEUDO_CPPCHECK}")
+add_executable(main main.c)