1 lldb_tablegen(CoreProperties.inc -gen-lldb-property-defs
2 SOURCE CoreProperties.td
3 TARGET LLDBCorePropertiesGen)
5 lldb_tablegen(CorePropertiesEnum.inc -gen-lldb-property-enum-defs
6 SOURCE CoreProperties.td
7 TARGET LLDBCorePropertiesEnumGen)
10 set(LLDB_LIBEDIT_LIBS)
12 if (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)
19 # TODO: Add property `NO_PLUGIN_DEPENDENCIES` to lldbCore
20 add_lldb_library(lldbCore
23 AddressRangeListImpl.cpp
25 AddressResolverFileLine.cpp
36 EmulateInstruction.cpp
41 IOHandlerCursesGUI.cpp
49 RichManglingContext.cpp
52 SourceLocationSpec.cpp
54 StreamAsynchronousIO.cpp
55 ThreadedCommunication.cpp
56 UserSettingsController.cpp
60 clang-tablegen-targets
72 lldbPluginCPlusPlusLanguage
73 lldbPluginObjCLanguage
85 add_dependencies(lldbCore
87 LLDBCorePropertiesEnumGen)
89 # Needed to properly resolve references in a debug build.
90 # TODO: Remove once we have better layering
91 set_target_properties(lldbCore PROPERTIES LINK_INTERFACE_MULTIPLICITY 5)
93 if (LLDB_ENABLE_CURSES)
94 target_include_directories(lldbCore PRIVATE ${CURSES_INCLUDE_DIRS})