1 set(CLANGD_XPC_SOURCE_DIR "${CMAKE_CURRENT_SOURCE_DIR}")
2 set(CLANGD_XPC_BINARY_DIR "${CMAKE_CURRENT_BINARY_DIR}")
4 list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake/modules")
5 include(CreateClangdXPCFramework)
7 add_subdirectory(framework)
8 add_subdirectory(test-client)
10 set(LLVM_LINK_COMPONENTS
14 # Needed by LLVM's CMake checks because this file defines multiple targets.
15 set(LLVM_OPTIONAL_SOURCES Conversion.cpp XPCTransport.cpp)
17 add_clang_library(clangdXpcJsonConversions
19 LINK_LIBS clangDaemon clangdSupport
22 add_clang_library(clangdXpcTransport
24 LINK_LIBS clangDaemon clangdSupport clangdXpcJsonConversions