[TableGen] Move core properties into a separate file (NFC)
With the plugins having their own tablgen file, it makes sense to split off the core properties as well. llvm-svn: 367140
This commit is contained in:
parent
463a48e416
commit
01f277e2db
|
@ -54,7 +54,6 @@ endif()
|
|||
|
||||
# TableGen
|
||||
add_subdirectory(utils/TableGen)
|
||||
add_subdirectory(include/lldb/Core)
|
||||
|
||||
add_subdirectory(source)
|
||||
add_subdirectory(tools)
|
||||
|
|
|
@ -1,7 +0,0 @@
|
|||
lldb_tablegen(Properties.inc -gen-lldb-property-defs
|
||||
SOURCE Properties.td
|
||||
TARGET LLDBPropertiesGen)
|
||||
|
||||
lldb_tablegen(PropertiesEnum.inc -gen-lldb-property-enum-defs
|
||||
SOURCE Properties.td
|
||||
TARGET LLDBPropertiesEnumGen)
|
|
@ -1,3 +1,11 @@
|
|||
lldb_tablegen(Properties.inc -gen-lldb-property-defs
|
||||
SOURCE Properties.td
|
||||
TARGET LLDBCorePropertiesGen)
|
||||
|
||||
lldb_tablegen(PropertiesEnum.inc -gen-lldb-property-enum-defs
|
||||
SOURCE Properties.td
|
||||
TARGET LLDBCorePropertiesEnumGen)
|
||||
|
||||
set(LLDB_CURSES_LIBS)
|
||||
set(LLDB_LIBEDIT_LIBS)
|
||||
|
||||
|
@ -76,7 +84,9 @@ add_lldb_library(lldbCore
|
|||
Demangle
|
||||
)
|
||||
|
||||
add_dependencies(lldbCore LLDBPropertiesGen LLDBPropertiesEnumGen)
|
||||
add_dependencies(lldbCore
|
||||
LLDBCorePropertiesGen
|
||||
LLDBCorePropertiesEnumGen)
|
||||
|
||||
# Needed to properly resolve references in a debug build.
|
||||
# TODO: Remove once we have better layering
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
include "PropertiesBase.td"
|
||||
include "../../include/lldb/Core/PropertiesBase.td"
|
||||
|
||||
let Definition = "modulelist" in {
|
||||
def EnableExternalLookup: Property<"enable-external-lookup", "Boolean">,
|
Loading…
Reference in New Issue