2012-12-04 02:12:45 +08:00
|
|
|
set(LLVM_LINK_COMPONENTS support)
|
|
|
|
|
|
|
|
add_clang_library(clangFormat
|
|
|
|
UnwrappedLineParser.cpp
|
|
|
|
Format.cpp
|
|
|
|
)
|
|
|
|
|
|
|
|
add_dependencies(clangFormat
|
|
|
|
ClangAttrClasses
|
|
|
|
ClangAttrList
|
|
|
|
ClangDeclNodes
|
|
|
|
ClangDiagnosticCommon
|
|
|
|
ClangDiagnosticFrontend
|
|
|
|
ClangStmtNodes
|
|
|
|
)
|
|
|
|
|
|
|
|
target_link_libraries(clangFormat
|
|
|
|
clangBasic
|
|
|
|
clangFrontend
|
|
|
|
clangAST
|
|
|
|
clangASTMatchers
|
|
|
|
clangRewriteCore
|
|
|
|
clangRewriteFrontend
|
2012-12-04 02:28:52 +08:00
|
|
|
clangTooling
|
2012-12-04 02:12:45 +08:00
|
|
|
)
|