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 "")
1212set (SwiftCore_ENABLE_RUNTIME_FUNCTION_COUNTERS ON CACHE BOOL "" )
1313set (SwiftCore_ENABLE_BACKDEPLOYMENT_SUPPORT ON CACHE BOOL "" )
1414set (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
88
99set (SwiftCore_ARCH_SUBDIR arm64)
1010set (SwiftCore_PLATFORM_SUBDIR freestanding)
11+ set (CMAKE_BUILD_TYPE MinSizeRel CACHE STRING "" )
1112
1213include ("${CMAKE_CURRENT_LIST_DIR} /apple-common.cmake" )
You can’t perform that action at this time.
0 commit comments