Changeset View
Changeset View
Standalone View
Standalone View
cmake/modules/LLDBConfig.cmake
Show First 20 Lines • Show All 412 Lines • ▼ Show 20 Lines | |||||
endif() | endif() | ||||
list(APPEND system_libs ${CMAKE_DL_LIBS}) | list(APPEND system_libs ${CMAKE_DL_LIBS}) | ||||
SET(SKIP_LLDB_SERVER_BUILD OFF CACHE BOOL "Skip building lldb-server") | SET(SKIP_LLDB_SERVER_BUILD OFF CACHE BOOL "Skip building lldb-server") | ||||
# Figure out if lldb could use lldb-server. If so, then we'll | # Figure out if lldb could use lldb-server. If so, then we'll | ||||
# ensure we build lldb-server when an lldb target is being built. | # ensure we build lldb-server when an lldb target is being built. | ||||
if (CMAKE_SYSTEM_NAME MATCHES "Android|Darwin|FreeBSD|Linux|NetBSD") | if (CMAKE_SYSTEM_NAME MATCHES "Android|Darwin|FreeBSD|Linux|NetBSD|Windows") | ||||
set(LLDB_CAN_USE_LLDB_SERVER 1) | set(LLDB_CAN_USE_LLDB_SERVER 1) | ||||
else() | else() | ||||
set(LLDB_CAN_USE_LLDB_SERVER 0) | set(LLDB_CAN_USE_LLDB_SERVER 0) | ||||
endif() | endif() | ||||
# Figure out if lldb could use debugserver. If so, then we'll | # Figure out if lldb could use debugserver. If so, then we'll | ||||
# ensure we build debugserver when we build lldb. | # ensure we build debugserver when we build lldb. | ||||
if ( CMAKE_SYSTEM_NAME MATCHES "Darwin" ) | if ( CMAKE_SYSTEM_NAME MATCHES "Darwin" ) | ||||
▲ Show 20 Lines • Show All 49 Lines • Show Last 20 Lines |