Debian Codegraph @

clang-tools-extra/clangd/refactor/tweaks/CMakeLists.txt

raw
1 include_directories(${CMAKE_CURRENT_SOURCE_DIR}/../..)
2
3 set(LLVM_LINK_COMPONENTS
4 support
5 )
6
7 # A target containing all code tweaks (i.e. mini-refactorings) provided by
8 # clangd.
9 # Built as an object library to make sure the linker does not remove global
10 # constructors that register individual tweaks in a global registry.
11 # To enable these tweaks in executables or shared libraries, add
12 # $<TARGET_OBJECTS:obj.clangDaemonTweaks> to a list of sources, see
13 # clangd/tool/CMakeLists.txt for an example.
14 add_clang_library(clangDaemonTweaks OBJECT
15 AddUsing.cpp
16 AnnotateHighlightings.cpp
17 DumpAST.cpp
18 DefineInline.cpp
19 DefineOutline.cpp
20 ExpandDeducedType.cpp
21 ExpandMacro.cpp
22 ExtractFunction.cpp
23 ExtractVariable.cpp
24 MemberwiseConstructor.cpp
25 ObjCLocalizeStringLiteral.cpp
26 ObjCMemberwiseInitializer.cpp
27 PopulateSwitch.cpp
28 RawStringLiteral.cpp
29 RemoveUsingNamespace.cpp
30 ScopifyEnum.cpp
31 SpecialMembers.cpp
32 SwapIfBranches.cpp
33
34 LINK_LIBS
35 clangAST
36 clangBasic
37 clangDaemon
38 clangdSupport
39 clangFormat
40 clangLex
41 clangSema
42 clangToolingCore
43 clangToolingRefactoring
44 clangToolingSyntax
45
46 DEPENDS
47 omp_gen
48 ClangDriverOptions
49 )