| 1 |
include(${CMAKE_CURRENT_LIST_DIR}/Apple-lldb-base.cmake) |
| 2 |
|
| 3 |
set(LLDB_BUILD_FRAMEWORK ON CACHE BOOL "") |
| 4 |
set(LLDB_NO_INSTALL_DEFAULT_RPATH ON CACHE BOOL "") |
| 5 |
set(LLDB_SKIP_STRIP ON CACHE BOOL "") |
| 6 |
set(CMAKE_OSX_DEPLOYMENT_TARGET 10.11 CACHE STRING "") |
| 7 |
|
| 8 |
# Default install location on the enduser machine. On the build machine, use the |
| 9 |
# DESTDIR environment variable in order to relocate the whole installation, e.g.: |
| 10 |
# `DESTDIR=/tmp ninja install-distribution` |
| 11 |
set(CMAKE_INSTALL_PREFIX /Applications/Xcode.app/Contents/Developer/usr CACHE STRING "") |
| 12 |
|
| 13 |
# Install location for LLDB.framework on the enduser machine. |
| 14 |
# DESTDIR will be an extra prefix. |
| 15 |
set(LLDB_FRAMEWORK_INSTALL_DIR /Applications/Xcode.app/Contents/SharedFrameworks CACHE STRING "") |
| 16 |
|
| 17 |
# Install location for externalized debug-info on the build machine. |
| 18 |
# DESTDIR will be an extra prefix. |
| 19 |
set(LLDB_DEBUGINFO_INSTALL_PREFIX /debuginfo CACHE STRING "") |
| 20 |
|
| 21 |
set(LLVM_DISTRIBUTION_COMPONENTS |
| 22 |
lldb |
| 23 |
liblldb |
| 24 |
lldb-argdumper |
| 25 |
lldb-dap |
| 26 |
darwin-debug |
| 27 |
debugserver |
| 28 |
CACHE STRING "") |