2012-12-04 02:12:45 +08:00
|
|
|
set(LLVM_LINK_COMPONENTS support)
|
|
|
|
|
|
|
|
add_clang_library(clangFormat
|
2013-04-15 22:28:00 +08:00
|
|
|
BreakableToken.cpp
|
|
|
|
Format.cpp
|
2013-01-30 05:01:14 +08:00
|
|
|
TokenAnnotator.cpp
|
2012-12-04 02:12:45 +08:00
|
|
|
UnwrappedLineParser.cpp
|
2013-04-15 22:28:00 +08:00
|
|
|
WhitespaceManager.cpp
|
2012-12-04 02:12:45 +08:00
|
|
|
)
|
|
|
|
|
|
|
|
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
|
|
|
)
|