Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnkit Meel <ankitjmeel@gmail.com>2020-09-26 11:58:40 +0300
committerAnkit Meel <ankitjmeel@gmail.com>2020-09-26 20:47:10 +0300
commit8fb806ab15fcbfcfaad59d68af3b9d1ccaf11fed (patch)
tree246d1fafc8bb7e59571b9ba609aa9e9d9ae9fea5 /build_files/cmake
parent8d34e814499ca2c6d942f7b588e464fb9ab6ff9c (diff)
Revert "Generate Xcode scheme files during configuration."
This reverts commit 5eb5978043c8e7036e15572e. The change was problematic: *Advanced users may prefer managing schemes manually and adding only a few that they need, instead of one for every library/executable Blender builds. *If CMake creates schema files, it overwrites the changes a developer made every time CMake is run. If Xcode creates scheme files, it keeps settings/ environment variables intact. If someone runs CMake very frequently, pass `-DCMAKE_XCODE_GENERATE_SCHEME=ON` to `cmake` while configuring.
Diffstat (limited to 'build_files/cmake')
-rw-r--r--build_files/cmake/platform/platform_apple_xcode.cmake8
1 files changed, 0 insertions, 8 deletions
diff --git a/build_files/cmake/platform/platform_apple_xcode.cmake b/build_files/cmake/platform/platform_apple_xcode.cmake
index 7e6bd14ecc3..3a43ca317dd 100644
--- a/build_files/cmake/platform/platform_apple_xcode.cmake
+++ b/build_files/cmake/platform/platform_apple_xcode.cmake
@@ -154,11 +154,3 @@ if(NOT ${CMAKE_GENERATOR} MATCHES "Xcode")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -mmacosx-version-min=${CMAKE_OSX_DEPLOYMENT_TARGET}")
add_definitions("-DMACOSX_DEPLOYMENT_TARGET=${CMAKE_OSX_DEPLOYMENT_TARGET}")
endif()
-
-if(${CMAKE_GENERATOR} MATCHES "Xcode")
- # Generate schemes in Blender.xcodeproj/xcshareddata/xcschemes/ early, at
- # configuration time, not when Xcode is opened.
- # This gets rid of "Manage schemes automatically" confirmation dialog that
- # appears whenever CMake is run.
- set(CMAKE_XCODE_GENERATE_SCHEME ON)
-endif()