lldb_tablegen(PlatformWasmProperties.inc -gen-lldb-property-defs
  SOURCE PlatformWasmProperties.td
  TARGET LLDBPluginPlatformWasmPropertiesGen)

lldb_tablegen(PlatformWasmPropertiesEnum.inc -gen-lldb-property-enum-defs
  SOURCE PlatformWasmProperties.td
  TARGET LLDBPluginPlatformWasmPropertiesEnumGen)

add_lldb_library(lldbPluginPlatformWasm PLUGIN
  PlatformWasm.cpp

  LINK_LIBS
    lldbCore
    lldbHost
    lldbTarget
    lldbUtility
  LINK_COMPONENTS
    Support
  )

add_dependencies(lldbPluginPlatformWasm
  LLDBPluginPlatformWasmPropertiesGen
  LLDBPluginPlatformWasmPropertiesEnumGen)
