Summary: This is a bit more explicit, and makes it possible to build LLDB without varying the -I lines per-directory. (The latter is useful because many build systems only allow this to be configured per-library, and LLDB is insufficiently layered to be split into multiple libraries on stricter build systems). (My comment on D65185 has some more context) Reviewers: JDevlieghere, labath, chandlerc, jdoerfert Reviewed By: labath Subscribers: mgorny, lldb-commits Tags: #lldb Differential Revision: https://reviews.llvm.org/D65397 Patch by Sam McCall! llvm-svn: 367241
35 lines
939 B
CMake
35 lines
939 B
CMake
lldb_tablegen(ProcessKDPProperties.inc -gen-lldb-property-defs
|
|
SOURCE ProcessKDPProperties.td
|
|
TARGET LLDBPluginProcessMacOSXKernelPropertiesGen)
|
|
|
|
lldb_tablegen(ProcessKDPPropertiesEnum.inc -gen-lldb-property-enum-defs
|
|
SOURCE ProcessKDPProperties.td
|
|
TARGET LLDBPluginProcessMacOSXKernelPropertiesEnumGen)
|
|
|
|
add_lldb_library(lldbPluginProcessMacOSXKernel PLUGIN
|
|
CommunicationKDP.cpp
|
|
ProcessKDP.cpp
|
|
ProcessKDPLog.cpp
|
|
RegisterContextKDP_arm.cpp
|
|
RegisterContextKDP_arm64.cpp
|
|
RegisterContextKDP_i386.cpp
|
|
RegisterContextKDP_x86_64.cpp
|
|
ThreadKDP.cpp
|
|
|
|
LINK_LIBS
|
|
lldbBreakpoint
|
|
lldbCore
|
|
lldbHost
|
|
lldbInterpreter
|
|
lldbSymbol
|
|
lldbTarget
|
|
lldbUtility
|
|
lldbPluginDynamicLoaderDarwinKernel
|
|
lldbPluginDynamicLoaderStatic
|
|
lldbPluginProcessUtility
|
|
)
|
|
|
|
add_dependencies(lldbPluginProcessMacOSXKernel
|
|
LLDBPluginProcessMacOSXKernelPropertiesGen
|
|
LLDBPluginProcessMacOSXKernelPropertiesEnumGen)
|