1 # clangd/support contains low-level support libraries that do not depend
2 # on clang either programmatically or conceptually.
4 set(LLVM_LINK_COMPONENTS
8 if(CLANG_BUILT_STANDALONE)
9 # needed to get HAVE_CXX_ATOMICS64_WITHOUT_LIB defined
13 set(CLANGD_ATOMIC_LIB "")
14 if(NOT HAVE_CXX_ATOMICS_WITHOUT_LIB OR NOT HAVE_CXX_ATOMICS64_WITHOUT_LIB)
15 list(APPEND CLANGD_ATOMIC_LIB "atomic")
18 add_clang_library(clangdSupport STATIC
30 ThreadCrashReporter.cpp
41 clang_target_link_libraries(clangdSupport