[Lldb-commits] [PATCH] D65509: [lldb][CMake] Avoid 'Autogenerate scheme' dialogs in Xcode projects

Stefan Gränitz via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Wed Jul 31 05:54:45 PDT 2019


sgraenitz created this revision.
sgraenitz added a reviewer: jingham.
Herald added a subscriber: mgorny.
Herald added a project: LLDB.

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.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D65509

Files:
  lldb/cmake/caches/Apple-lldb-Xcode.cmake


Index: lldb/cmake/caches/Apple-lldb-Xcode.cmake
===================================================================
--- lldb/cmake/caches/Apple-lldb-Xcode.cmake
+++ lldb/cmake/caches/Apple-lldb-Xcode.cmake
@@ -2,3 +2,4 @@
 
 set(LLDB_BUILD_FRAMEWORK ON CACHE BOOL "")
 set(CMAKE_OSX_DEPLOYMENT_TARGET 10.11 CACHE STRING "")
+set(CMAKE_XCODE_GENERATE_SCHEME ON CACHE BOOL "")


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D65509.212560.patch
Type: text/x-patch
Size: 375 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20190731/666f932b/attachment.bin>


More information about the lldb-commits mailing list