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(LLDB_SKIP_STRIP ON CACHE BOOL "") 6set(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` 11set(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. 15set(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. 19set(LLDB_DEBUGINFO_INSTALL_PREFIX /debuginfo CACHE STRING "") 20 21set(LLVM_DISTRIBUTION_COMPONENTS 22 lldb 23 liblldb 24 lldb-argdumper 25 darwin-debug 26 debugserver 27 CACHE STRING "") 28