[clang-tools-extra] [cmake] Link against libclang-cpp whenever possible
[lldb.git] / clang-tools-extra / tool-template / CMakeLists.txt
1 set(LLVM_LINK_COMPONENTS
2   Support
3   )
4
5 add_clang_executable(tool-template
6   ToolTemplate.cpp
7   )
8
9 clang_target_link_libraries(tool-template
10   PRIVATE
11   clangAST
12   clangASTMatchers
13   clangBasic
14   clangFrontend
15   clangTooling
16   clangToolingRefactoring
17   )