Zixu Wang 89f6b26f1b [clang][extract-api] Refactor ExtractAPI and improve docs
- 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
2022-03-22 13:21:57 -07:00

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}
)