llvm-project/lldb/source/Interpreter/CMakeLists.txt

75 lines
1.8 KiB
CMake

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_lldb_library(lldbInterpreter
CommandAlias.cpp
CommandHistory.cpp
CommandInterpreter.cpp
CommandObject.cpp
CommandObjectRegexCommand.cpp
CommandObjectScript.cpp
CommandOptionValidators.cpp
CommandReturnObject.cpp
OptionArgParser.cpp
OptionGroupArchitecture.cpp
OptionGroupBoolean.cpp
OptionGroupFile.cpp
OptionGroupFormat.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
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
lldbCommands
lldbCore
lldbDataFormatters
lldbHost
lldbTarget
lldbUtility
LINK_COMPONENTS
Support
)
add_dependencies(lldbInterpreter
LLDBInterpreterPropertiesGen
LLDBInterpreterPropertiesEnumGen)
if (LLDB_ENABLE_LIBEDIT)
target_include_directories(lldbInterpreter PRIVATE ${LibEdit_INCLUDE_DIRS})
endif()