-
-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add arm64-simulator support to iOS build script (#5920)
Co-authored-by: Dwayne Coussement <dwayne.coussement@showpad.com> Co-authored-by: Kim Kulling <kimkulling@users.noreply.github.com>
1 parent
5fa7b8c
commit f2c6aa1
Showing
3 changed files
with
131 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
INCLUDE(CMakeForceCompiler) | ||
|
||
SET (CMAKE_CROSSCOMPILING TRUE) | ||
SET (CMAKE_SYSTEM_NAME "Darwin") | ||
SET (CMAKE_SYSTEM_PROCESSOR "arm64") | ||
SET (IOS TRUE) | ||
|
||
SET (IOS_SDK_DEVICE iPhoneSimulator) | ||
|
||
SET (SDKVER "${IOS_SDK_VERSION}") | ||
SET (DEVROOT "${XCODE_ROOT_DIR}/Platforms/${IOS_SDK_DEVICE}.platform/Developer") | ||
|
||
|
||
SET (CMAKE_FIND_ROOT_PATH "${SDKROOT}" "${DEVROOT}") | ||
SET (CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER) | ||
SET (CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY) | ||
SET (CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY) |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters