blob: 4378c9d1918ef4009d3fa58462a3a232f4aebebe [file] [log] [blame]
set(LLVM_TARGET_DEFINITIONS Options.td)
tablegen(LLVM Options.inc -gen-opt-parser-defs)
add_public_tablegen_target(LLDBOptionsTableGen)
add_lldb_tool(lldb
Driver.cpp
Platform.cpp
LINK_LIBS
liblldb
LINK_COMPONENTS
Option
Support
)
if ( CMAKE_SYSTEM_NAME MATCHES "Windows" )
add_definitions( -DIMPORT_LIBLLDB )
endif()
add_dependencies(lldb
${LLDB_SUITE_TARGET}
LLDBOptionsTableGen
${tablegen_deps}
)