forked from OSchip/llvm-project
30 lines
509 B
CMake
30 lines
509 B
CMake
set(LLVM_LINK_COMPONENTS support)
|
|
|
|
add_clang_library(clangFormat
|
|
BreakableToken.cpp
|
|
ContinuationIndenter.cpp
|
|
Format.cpp
|
|
TokenAnnotator.cpp
|
|
UnwrappedLineParser.cpp
|
|
WhitespaceManager.cpp
|
|
)
|
|
|
|
add_dependencies(clangFormat
|
|
ClangAttrClasses
|
|
ClangAttrList
|
|
ClangDeclNodes
|
|
ClangDiagnosticCommon
|
|
ClangDiagnosticFrontend
|
|
ClangStmtNodes
|
|
)
|
|
|
|
target_link_libraries(clangFormat
|
|
clangBasic
|
|
clangFrontend
|
|
clangAST
|
|
clangASTMatchers
|
|
clangRewriteCore
|
|
clangRewriteFrontend
|
|
clangTooling
|
|
)
|