mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-01-26 11:25:27 +00:00
cb4cda2d45
r366433 broke support for the system debugserver. Although the change was well-intended, it (presumably) unintentionally removed the logic to copy over the debugserver. As a result, even with LLDB_USE_SYSTEM_DEBUGSERVER enabled, we ended up building, signing and using the just-built debugserver. This patch partially recovers the old behavior: when LLDB_USE_SYSTEM_DEBUGSERVER is set we don't build debugserver and just copy over the system one. Differential revision: https://reviews.llvm.org/D67991 llvm-svn: 372786
23 lines
652 B
CMake
23 lines
652 B
CMake
add_subdirectory(argdumper)
|
|
add_subdirectory(driver)
|
|
add_subdirectory(intel-features)
|
|
|
|
# We want lldb-test to be built only when it's needed,
|
|
# i.e. if a target requires it as dependency. The typical
|
|
# example is `check-lldb`. So, we pass EXCLUDE_FROM_ALL here.
|
|
add_subdirectory(lldb-test EXCLUDE_FROM_ALL)
|
|
|
|
add_lldb_tool_subdirectory(lldb-instr)
|
|
add_lldb_tool_subdirectory(lldb-vscode)
|
|
|
|
if (CMAKE_SYSTEM_NAME MATCHES "Darwin")
|
|
add_lldb_tool_subdirectory(darwin-debug)
|
|
if(NOT LLDB_USE_SYSTEM_DEBUGSERVER)
|
|
add_lldb_tool_subdirectory(debugserver)
|
|
endif()
|
|
endif()
|
|
|
|
if (LLDB_CAN_USE_LLDB_SERVER)
|
|
add_lldb_tool_subdirectory(lldb-server)
|
|
endif()
|