[docs] Add LICENSE.txt to the root of the mono-repo
[llvm-project.git] / clang-tools-extra / clangd / xpc / CMakeLists.txt
blob5ccdf2f5d06a5181bcb810745fe300d7954c441f
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   )