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