File tree Expand file tree Collapse file tree 2 files changed +5
-0
lines changed
Runtimes/Core/cmake/caches/Vendors/Apple Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -12,3 +12,7 @@ set(SwiftCore_ENABLE_VECTOR_TYPES ON CACHE BOOL "")
12
12
set (SwiftCore_ENABLE_RUNTIME_FUNCTION_COUNTERS ON CACHE BOOL "" )
13
13
set (SwiftCore_ENABLE_BACKDEPLOYMENT_SUPPORT ON CACHE BOOL "" )
14
14
set (SwiftCore_ENABLE_FILESYSTEM_SUPPORT ON CACHE BOOL "" )
15
+
16
+ set (CMAKE_CXX_FLAGS_MINSIZEREL "-Os -g -DNDEBUG" CACHE STRING "" )
17
+ set (CMAKE_C_FLAGS_MINSIZEREL "-Os -g -DNDEBUG" CACHE STRING "" )
18
+ set (CMAKE_Swift_FLAGS_MINSIZEREL "-Osize -g" CACHE STRING "" )
Original file line number Diff line number Diff line change @@ -8,5 +8,6 @@ set(CMAKE_Swift_COMPILER_TARGET "arm64-apple-bridgeos${CMAKE_OSX_DEPLOYMENT_TARG
8
8
9
9
set (SwiftCore_ARCH_SUBDIR arm64 )
10
10
set (SwiftCore_PLATFORM_SUBDIR freestanding )
11
+ set (CMAKE_BUILD_TYPE MinSizeRel CACHE STRING "" )
11
12
12
13
include ("${CMAKE_CURRENT_LIST_DIR} /apple-common.cmake" )
You can’t perform that action at this time.
0 commit comments