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