brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.2 KiB · 1d6e380 Raw
52 lines · plain
1include_directories(${CMAKE_CURRENT_SOURCE_DIR}/../..)2 3set(LLVM_LINK_COMPONENTS4  support5  )6 7# A target containing all code tweaks (i.e. mini-refactorings) provided by8# clangd.9# Built as an object library to make sure the linker does not remove global10# constructors that register individual tweaks in a global registry.11# To enable these tweaks in executables or shared libraries, add12# $<TARGET_OBJECTS:obj.clangDaemonTweaks> to a list of sources, see13# clangd/tool/CMakeLists.txt for an example.14add_clang_library(clangDaemonTweaks OBJECT15  AddUsing.cpp16  AnnotateHighlightings.cpp17  DefineInline.cpp18  DefineOutline.cpp19  DumpAST.cpp20  ExpandDeducedType.cpp21  ExpandMacro.cpp22  ExtractFunction.cpp23  ExtractVariable.cpp24  MemberwiseConstructor.cpp25  ObjCLocalizeStringLiteral.cpp26  ObjCMemberwiseInitializer.cpp27  OverridePureVirtuals.cpp28  PopulateSwitch.cpp29  RawStringLiteral.cpp30  RemoveUsingNamespace.cpp31  ScopifyEnum.cpp32  SpecialMembers.cpp33  SwapBinaryOperands.cpp34  SwapIfBranches.cpp35 36  LINK_LIBS37  clangAST38  clangBasic39  clangDaemon40  clangdSupport41  clangFormat42  clangLex43  clangSema44  clangToolingCore45  clangToolingRefactoring46  clangToolingSyntax47 48  DEPENDS49  omp_gen50  ClangDriverOptions51  )52