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