summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/ClangTidy/ExportFixesDir2.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/ClangTidy/ExportFixesDir2.cmake')
-rw-r--r--Tests/RunCMake/ClangTidy/ExportFixesDir2.cmake6
1 files changed, 6 insertions, 0 deletions
diff --git a/Tests/RunCMake/ClangTidy/ExportFixesDir2.cmake b/Tests/RunCMake/ClangTidy/ExportFixesDir2.cmake
new file mode 100644
index 0000000..c81c49a
--- /dev/null
+++ b/Tests/RunCMake/ClangTidy/ExportFixesDir2.cmake
@@ -0,0 +1,6 @@
+enable_language(C)
+set(CMAKE_C_CLANG_TIDY "${PSEUDO_TIDY}" -some -args)
+set(CMAKE_C_CLANG_TIDY_EXPORT_FIXES_DIR clang-tidy)
+set(files ${CMAKE_CURRENT_SOURCE_DIR}/main.c)
+add_executable(main ${files})
+add_subdirectory(export_fixes_subdir)