forked from OSchip/llvm-project
29 lines
482 B
CMake
29 lines
482 B
CMake
set(LLVM_LINK_COMPONENTS support)
|
|
|
|
add_clang_library(clangFormat
|
|
BreakableToken.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
|
|
)
|