Mercurial > hg > CbC > CbC_llvm
comparison clang-tools-extra/clangd/support/CMakeLists.txt @ 173:0572611fdcc8 llvm10 llvm12
reorgnization done
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 25 May 2020 11:55:54 +0900 |
parents | |
children | 2e18cbf3894f |
comparison
equal
deleted
inserted
replaced
172:9fbae9c8bf63 | 173:0572611fdcc8 |
---|---|
1 # clangd/support contains low-level support libraries that do not depend | |
2 # on clang either programmatically or conceptually. | |
3 | |
4 set(LLVM_LINK_COMPONENTS | |
5 Support | |
6 ) | |
7 | |
8 if(CLANG_BUILT_STANDALONE) | |
9 # needed to get HAVE_CXX_ATOMICS64_WITHOUT_LIB defined | |
10 include(CheckAtomic) | |
11 endif() | |
12 | |
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") | |
16 endif() | |
17 | |
18 include_directories(..) | |
19 add_clang_library(clangdSupport | |
20 Cancellation.cpp | |
21 Context.cpp | |
22 FSProvider.cpp | |
23 Logger.cpp | |
24 Markup.cpp | |
25 Shutdown.cpp | |
26 Threading.cpp | |
27 Trace.cpp | |
28 | |
29 LINK_LIBS | |
30 ${LLVM_PTHREAD_LIB} | |
31 ${CLANGD_ATOMIC_LIB} | |
32 ) |