llvm/lldb/source/Interpreter/CMakeLists.txt

lldb_tablegen(InterpreterProperties.inc -gen-lldb-property-defs
  SOURCE InterpreterProperties.td
  TARGET LLDBInterpreterPropertiesGen)

lldb_tablegen(InterpreterPropertiesEnum.inc -gen-lldb-property-enum-defs
  SOURCE InterpreterProperties.td
  TARGET LLDBInterpreterPropertiesEnumGen)

add_subdirectory(Interfaces)

add_lldb_library(lldbInterpreter NO_PLUGIN_DEPENDENCIES
  CommandAlias.cpp
  CommandHistory.cpp
  CommandInterpreter.cpp
  CommandObject.cpp
  CommandOptionValidators.cpp
  CommandReturnObject.cpp
  OptionArgParser.cpp
  OptionGroupArchitecture.cpp
  OptionGroupBoolean.cpp
  OptionGroupFile.cpp
  OptionGroupFormat.cpp
  OptionGroupMemoryTag.cpp
  OptionGroupPythonClassWithDict.cpp
  OptionGroupOutputFile.cpp
  OptionGroupPlatform.cpp
  OptionGroupString.cpp
  OptionGroupUInt64.cpp
  OptionGroupUUID.cpp
  OptionGroupValueObjectDisplay.cpp
  OptionValue.cpp
  OptionValueArch.cpp
  OptionValueArgs.cpp
  OptionValueArray.cpp
  OptionValueBoolean.cpp
  OptionValueChar.cpp
  OptionValueDictionary.cpp
  OptionValueEnumeration.cpp
  OptionValueFileColonLine.cpp
  OptionValueFileSpec.cpp
  OptionValueFileSpecList.cpp
  OptionValueFormat.cpp
  OptionValueFormatEntity.cpp
  OptionValueLanguage.cpp
  OptionValuePathMappings.cpp
  OptionValueProperties.cpp
  OptionValueRegex.cpp
  OptionValueSInt64.cpp
  OptionValueString.cpp
  OptionValueUInt64.cpp
  OptionValueUUID.cpp
  OptionGroupVariable.cpp
  OptionGroupWatchpoint.cpp
  Options.cpp
  Property.cpp
  ScriptInterpreter.cpp

  LINK_LIBS
    lldbInterpreterInterfaces
    lldbCommands
    lldbCore
    lldbDataFormatters
    lldbHost
    lldbTarget
    lldbUtility

  LINK_COMPONENTS
    Support
  )

add_dependencies(lldbInterpreter
  lldbInterpreterInterfaces
  LLDBInterpreterPropertiesGen
  LLDBInterpreterPropertiesEnumGen)