99 lines · plain
1lldb_tablegen(CoreProperties.inc -gen-lldb-property-defs2 SOURCE CoreProperties.td3 TARGET LLDBCorePropertiesGen)4 5lldb_tablegen(CorePropertiesEnum.inc -gen-lldb-property-enum-defs6 SOURCE CoreProperties.td7 TARGET LLDBCorePropertiesEnumGen)8 9set(LLDB_CURSES_LIBS)10set(LLDB_LIBEDIT_LIBS)11 12if (LLDB_ENABLE_CURSES)13 list(APPEND LLDB_CURSES_LIBS ${PANEL_LIBRARIES} ${CURSES_LIBRARIES})14 if (LLVM_BUILD_STATIC)15 list(APPEND LLDB_CURSES_LIBS gpm)16 endif()17endif()18 19add_lldb_library(lldbCore NO_PLUGIN_DEPENDENCIES20 Address.cpp21 AddressRange.cpp22 AddressRangeListImpl.cpp23 AddressResolver.cpp24 AddressResolverFileLine.cpp25 Communication.cpp26 DataFileCache.cpp27 Debugger.cpp28 DebuggerEvents.cpp29 Declaration.cpp30 DemangledNameInfo.cpp31 Disassembler.cpp32 DumpDataExtractor.cpp33 DumpRegisterValue.cpp34 DumpRegisterInfo.cpp35 DynamicLoader.cpp36 EmulateInstruction.cpp37 FileLineResolver.cpp38 FormatEntity.cpp39 Highlighter.cpp40 IOHandler.cpp41 IOHandlerCursesGUI.cpp42 Mangled.cpp43 Module.cpp44 ModuleChild.cpp45 ModuleList.cpp46 Opcode.cpp47 PluginManager.cpp48 Progress.cpp49 ProtocolServer.cpp50 Statusline.cpp51 RichManglingContext.cpp52 SearchFilter.cpp53 Section.cpp54 SourceLocationSpec.cpp55 SourceManager.cpp56 StreamAsynchronousIO.cpp57 Telemetry.cpp58 ThreadedCommunication.cpp59 UserSettingsController.cpp60 Value.cpp61 62 ADDITIONAL_HEADER_DIRS63 ${LLDB_INCLUDE_DIR}/lldb/Core64 DEPENDS65 clang-tablegen-targets66 LINK_COMPONENTS67 Support68 Demangle69 TargetParser70 Telemetry71 LINK_LIBS72 lldbBreakpoint73 lldbDataFormatters74 lldbExpression75 lldbHost76 lldbInterpreter77 lldbSymbol78 lldbTarget79 lldbUtility80 lldbValueObject81 lldbVersion82 ${LLDB_CURSES_LIBS}83 84 CLANG_LIBS85 clangDriver86 )87 88add_dependencies(lldbCore89 LLDBCorePropertiesGen90 LLDBCorePropertiesEnumGen)91 92# Needed to properly resolve references in a debug build.93# TODO: Remove once we have better layering94set_target_properties(lldbCore PROPERTIES LINK_INTERFACE_MULTIPLICITY 5)95 96if (LLDB_ENABLE_CURSES)97 target_include_directories(lldbCore PRIVATE ${CURSES_INCLUDE_DIRS})98endif()99