summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/CMakeLists.txt
diff options
context:
space:
mode:
authorJan Korous <jkorous@apple.com>2019-01-16 00:24:22 +0000
committerJan Korous <jkorous@apple.com>2019-01-16 00:24:22 +0000
commitdca9c7cf240944f919f29e57cb12abc2599b084a (patch)
treea755cf6d2ce4c207ff610d7bb8eac6b137684d24 /clang-tools-extra/CMakeLists.txt
parent78e7fff56fbf833c97afb18f5c33a118b21fabf4 (diff)
downloadbcm5719-llvm-dca9c7cf240944f919f29e57cb12abc2599b084a.tar.gz
bcm5719-llvm-dca9c7cf240944f919f29e57cb12abc2599b084a.zip
[clangd] XPC transport layer
- New transport layer for macOS. - XPC Framework - Test client Framework and client were written by Alex Lorenz. Differential Revision: https://reviews.llvm.org/D54428 llvm-svn: 351280
Diffstat (limited to 'clang-tools-extra/CMakeLists.txt')
-rw-r--r--clang-tools-extra/CMakeLists.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/clang-tools-extra/CMakeLists.txt b/clang-tools-extra/CMakeLists.txt
index c3137adef9f..37e3e87eca8 100644
--- a/clang-tools-extra/CMakeLists.txt
+++ b/clang-tools-extra/CMakeLists.txt
@@ -1,3 +1,8 @@
+option(CLANGD_BUILD_XPC "Build XPC Support For Clangd." OFF)
+if (${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
+ set(CLANGD_BUILD_XPC ON CACHE BOOL "" FORCE)
+endif ()
+
add_subdirectory(clang-apply-replacements)
add_subdirectory(clang-reorder-fields)
add_subdirectory(modularize)
OpenPOWER on IntegriCloud