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