summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/clang-tidy/tool/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'clang-tools-extra/clang-tidy/tool/CMakeLists.txt')
-rw-r--r--clang-tools-extra/clang-tidy/tool/CMakeLists.txt18
1 files changed, 18 insertions, 0 deletions
diff --git a/clang-tools-extra/clang-tidy/tool/CMakeLists.txt b/clang-tools-extra/clang-tidy/tool/CMakeLists.txt
new file mode 100644
index 00000000000..27d511fdb23
--- /dev/null
+++ b/clang-tools-extra/clang-tidy/tool/CMakeLists.txt
@@ -0,0 +1,18 @@
+set(LLVM_LINK_COMPONENTS
+ ${LLVM_TARGETS_TO_BUILD}
+ asmparser
+ bitreader
+ support
+ mc
+ )
+
+add_clang_executable(clang-tidy
+ ClangTidyMain.cpp
+ )
+target_link_libraries(clang-tidy
+ clangTidy
+ )
+
+install(TARGETS clang-tidy
+ RUNTIME DESTINATION bin)
+
OpenPOWER on IntegriCloud