1include(${CMAKE_CURRENT_LIST_DIR}/Apple-lldb-base.cmake) 2 3set(CMAKE_GENERATOR Xcode CACHE STRING "") 4set(CMAKE_OSX_DEPLOYMENT_TARGET 10.12 CACHE STRING "") 5set(CMAKE_XCODE_GENERATE_SCHEME ON CACHE BOOL "") 6 7set(LLDB_BUILD_FRAMEWORK ON CACHE BOOL "") 8 9# Apparently, module-enabled builds clash with Xcode's analysis. 10set(LLVM_ENABLE_MODULES OFF CACHE BOOL "" FORCE) 11 12# Print a warning with instructions, if we 13# build with Xcode and didn't use this cache. 14set(LLDB_EXPLICIT_XCODE_CACHE_USED ON CACHE INTERNAL "") 15