2012-04-04 20:07:46 +08:00
|
|
|
set(LLVM_LINK_COMPONENTS support)
|
|
|
|
|
|
|
|
add_clang_library(clangTooling
|
2012-07-27 14:18:12 +08:00
|
|
|
ArgumentsAdjusters.cpp
|
2012-07-16 20:46:48 +08:00
|
|
|
CommandLineClangTool.cpp
|
2012-04-04 20:07:46 +08:00
|
|
|
CompilationDatabase.cpp
|
2012-05-24 00:29:20 +08:00
|
|
|
Refactoring.cpp
|
2012-07-17 16:03:01 +08:00
|
|
|
RefactoringCallbacks.cpp
|
2012-07-27 14:18:12 +08:00
|
|
|
Tooling.cpp
|
2012-04-04 20:07:46 +08:00
|
|
|
)
|
2012-06-21 09:30:21 +08:00
|
|
|
|
2012-07-17 04:22:15 +08:00
|
|
|
add_dependencies(clangTooling
|
2012-07-27 14:18:33 +08:00
|
|
|
ClangAttrClasses
|
|
|
|
ClangAttrList
|
|
|
|
ClangDeclNodes
|
2012-07-17 03:44:15 +08:00
|
|
|
ClangDiagnosticCommon
|
2012-07-27 14:18:33 +08:00
|
|
|
ClangDiagnosticFrontend
|
|
|
|
ClangStmtNodes
|
2012-07-27 14:18:12 +08:00
|
|
|
)
|
2012-07-17 03:44:15 +08:00
|
|
|
|
2012-06-21 09:30:21 +08:00
|
|
|
target_link_libraries(clangTooling
|
|
|
|
clangBasic
|
|
|
|
clangFrontend
|
|
|
|
clangAST
|
2012-07-17 16:03:01 +08:00
|
|
|
clangASTMatchers
|
2012-06-21 09:30:21 +08:00
|
|
|
clangRewrite
|
|
|
|
)
|