2019-07-17 00:57:45 +08:00
|
|
|
include(${CMAKE_CURRENT_LIST_DIR}/Apple-lldb-base.cmake)
|
|
|
|
|
2019-08-07 18:47:49 +08:00
|
|
|
set(CMAKE_GENERATOR Xcode CACHE STRING "")
|
2019-08-19 05:54:26 +08:00
|
|
|
set(CMAKE_OSX_DEPLOYMENT_TARGET 10.12 CACHE STRING "")
|
2019-08-01 18:33:44 +08:00
|
|
|
set(CMAKE_XCODE_GENERATE_SCHEME ON CACHE BOOL "")
|
2019-08-07 01:21:34 +08:00
|
|
|
|
|
|
|
set(LLDB_BUILD_FRAMEWORK ON CACHE BOOL "")
|
|
|
|
|
2019-08-08 21:39:25 +08:00
|
|
|
# Apparently, module-enabled builds clash with Xcode's analysis.
|
|
|
|
set(LLVM_ENABLE_MODULES OFF CACHE BOOL "" FORCE)
|
|
|
|
|
2019-08-07 01:21:34 +08:00
|
|
|
# Print a warning with instructions, if we
|
|
|
|
# build with Xcode and didn't use this cache.
|
|
|
|
set(LLDB_EXPLICIT_XCODE_CACHE_USED ON CACHE INTERNAL "")
|