CMakeLists.txt 939 Bytes
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)