Kirill Bobyrev 9bcf0eff99
[clangd] Optionally add reflection for clangd-index-server
This was originally landed without the optional part and reverted later:

8080ea4c4b

Reviewed By: kadircet

Differential Revision: https://reviews.llvm.org/D98404
2021-03-15 21:07:25 +01:00

23 lines
337 B
CMake

set(LLVM_LINK_COMPONENTS
Support
)
add_clang_executable(clangd-index-server
Server.cpp
DEPENDS
RemoteIndexProto
RemoteIndexServiceProto
)
target_link_libraries(clangd-index-server
PRIVATE
clangDaemon
clangdSupport
RemoteIndexProto
RemoteIndexServiceProto
clangdRemoteMarshalling
${REFLECTION_LIBRARY}
)