mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-12-22 15:31:00 +00:00
fc0d766511
Summary: Make debugserver a tool like lldb-server, so it can be included/excluded via `LLDB_TOOL_DEBUGSERVER_BUILD`. This replaces the old `LLDB_NO_DEBUGSERVER` flag. Doing the same for darwin-debug while I am here. Reviewers: xiaobai, JDevlieghere, davide Reviewed By: xiaobai, JDevlieghere Subscribers: mgorny, lldb-commits, #lldb Tags: #lldb Differential Revision: https://reviews.llvm.org/D64994 llvm-svn: 366631
21 lines
602 B
CMake
21 lines
602 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)
|
|
add_lldb_tool_subdirectory(debugserver)
|
|
endif()
|
|
|
|
if (LLDB_CAN_USE_LLDB_SERVER)
|
|
add_lldb_tool_subdirectory(lldb-server)
|
|
endif()
|