mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-27 17:16:06 +00:00

- The name SymbolGraph is inappropriate and confusing for the new library for clang-extract-api. Refactor and rename things to make it clear that ExtractAPI is the core functionality and SymbolGraph is one serializer for the API information. - Add documentation comments to ExtractAPI classes and methods to improve readability and clearness of the ExtractAPI work. Differential Revision: https://reviews.llvm.org/D122160
36 lines
485 B
CMake
36 lines
485 B
CMake
set(LLVM_LINK_COMPONENTS
|
|
Option
|
|
Support
|
|
)
|
|
|
|
set(link_libs
|
|
clangBasic
|
|
clangCodeGen
|
|
clangDriver
|
|
clangExtractAPI
|
|
clangFrontend
|
|
clangRewriteFrontend
|
|
)
|
|
|
|
if(CLANG_ENABLE_ARCMT)
|
|
list(APPEND link_libs
|
|
clangARCMigrate
|
|
)
|
|
endif()
|
|
|
|
if(CLANG_ENABLE_STATIC_ANALYZER)
|
|
list(APPEND link_libs
|
|
clangStaticAnalyzerFrontend
|
|
)
|
|
endif()
|
|
|
|
add_clang_library(clangFrontendTool
|
|
ExecuteCompilerInvocation.cpp
|
|
|
|
DEPENDS
|
|
ClangDriverOptions
|
|
|
|
LINK_LIBS
|
|
${link_libs}
|
|
)
|