Currently ExtractAPI only emits availability information for the current platform. This makes it easy for clients to get all availability information for a given symbol in one invocation as opposed to having to invoke clang once per-platform and then merge the symbol-graphs. Differential Revision: https://reviews.llvm.org/D130918
21 lines
353 B
CMake
21 lines
353 B
CMake
set(LLVM_LINK_COMPONENTS
|
|
Support
|
|
)
|
|
|
|
add_clang_library(clangExtractAPI
|
|
API.cpp
|
|
AvailabilityInfo.cpp
|
|
ExtractAPIConsumer.cpp
|
|
DeclarationFragments.cpp
|
|
Serialization/SerializerBase.cpp
|
|
Serialization/SymbolGraphSerializer.cpp
|
|
TypedefUnderlyingTypeResolver.cpp
|
|
|
|
LINK_LIBS
|
|
clangAST
|
|
clangBasic
|
|
clangFrontend
|
|
clangIndex
|
|
clangLex
|
|
)
|