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 DefineInline.cpp
18 DefineOutline.cpp
19 DumpAST.cpp
20 ExpandDeducedType.cpp
21 ExpandMacro.cpp
22 ExtractFunction.cpp
23 ExtractVariable.cpp
24 MemberwiseConstructor.cpp
25 ObjCLocalizeStringLiteral.cpp
26 ObjCMemberwiseInitializer.cpp
27 OverridePureVirtuals.cpp
28 PopulateSwitch.cpp
29 RawStringLiteral.cpp
30 RemoveUsingNamespace.cpp
31 ScopifyEnum.cpp
32 SpecialMembers.cpp
33 SwapBinaryOperands.cpp
34 SwapIfBranches.cpp
35
36 LINK_LIBS
37 clangAST
38 clangBasic
39 clangDaemon
40 clangdSupport
41 clangFormat
42 clangLex
43 clangSema
44 clangToolingCore
45 clangToolingRefactoring
46 clangToolingSyntax
47
48 DEPENDS
49 omp_gen
50 ClangDriverOptions
51 )