[lldb][CMake] Avoid 'Autogenerate scheme' dialogs in Xcode projects

Summary:
Supported in CMake 3.9 and higher: https://cmake.org/cmake/help/v3.9/variable/CMAKE_XCODE_GENERATE_SCHEME.html
Older versions will just report it as unused in the end of the configuration process.

Reviewers: jingham, JDevlieghere

Reviewed By: JDevlieghere

Subscribers: mgorny, lldb-commits, #lldb

Tags: #lldb

Differential Revision: https://reviews.llvm.org/D65509

llvm-svn: 367538
This commit is contained in:
Stefan Granitz 2019-08-01 10:33:44 +00:00
parent 5391f158c2
commit ed38be87fc
1 changed files with 1 additions and 0 deletions

View File

@ -2,3 +2,4 @@ include(${CMAKE_CURRENT_LIST_DIR}/Apple-lldb-base.cmake)
set(LLDB_BUILD_FRAMEWORK ON CACHE BOOL "")
set(CMAKE_OSX_DEPLOYMENT_TARGET 10.11 CACHE STRING "")
set(CMAKE_XCODE_GENERATE_SCHEME ON CACHE BOOL "")