Bump version to 19.1.0git
[llvm-project.git] / clang-tools-extra / clangd / xpc / CMakeLists.txt
blobb35c509a3f53dbd1fd4675533e4901dba5d15fe0
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
11   Support
12   )
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
18   Conversion.cpp
19   LINK_LIBS clangDaemon clangdSupport
20   )
22 add_clang_library(clangdXpcTransport
23   XPCTransport.cpp
24   LINK_LIBS clangDaemon clangdSupport clangdXpcJsonConversions
25   DEPENDS ClangDriverOptions
26   )