-
-
Notifications
You must be signed in to change notification settings - Fork 106
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[macos] Builds for 10.15 & 11.0 depending on arch
- Loading branch information
Showing
6 changed files
with
77 additions
and
6 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,30 @@ | ||
cninja_require(compiler=xcode) | ||
cninja_require(static-release) | ||
cninja_require(linker-warnings=no) | ||
cninja_require(era=10.15) | ||
|
||
execute_process( | ||
COMMAND xcode-select --print-path | ||
OUTPUT_VARIABLE XCODE_PATH | ||
OUTPUT_STRIP_TRAILING_WHITESPACE | ||
) | ||
set_cache(CMAKE_OSX_SYSROOT "${XCODE_PATH}/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk") | ||
|
||
if(CMAKE_HOST_SYSTEM_PROCESSOR MATCHES "x86_64") | ||
string(APPEND CMAKE_C_FLAGS_INIT " -march=ivybridge -mtune=cannonlake ") | ||
string(APPEND CMAKE_CXX_FLAGS_INIT " -march=ivybridge -mtune=cannonlake ") | ||
set_cache(KFR_ARCH sse2) | ||
elseif(CMAKE_HOST_SYSTEM_PROCESSOR MATCHES "arm*") | ||
set_cache(KFR_ARCH neon) | ||
endif() | ||
|
||
set_cache(BUILD_SHARED_LIBS OFF) | ||
set_cache(CMAKE_INSTALL_MESSAGE NEVER) | ||
|
||
set_cache(SCORE_DEPLOYMENT_BUILD 1) | ||
set_cache(SCORE_INSTALL_HEADERS ON) | ||
set_cache(OSSIA_STATIC_EXPORT ON) | ||
set_cache(SCORE_MACOS_ONLY_SYSTEM_LIBARIES ON) | ||
|
||
# Disabled because of std::binary_semaphore | ||
set_cache(LIBREMIDI_NO_JACK ON) |
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,27 @@ | ||
cninja_require(compiler=xcode) | ||
cninja_require(static-release) | ||
cninja_require(linker-warnings=no) | ||
cninja_require(era=11.0) | ||
|
||
execute_process( | ||
COMMAND xcode-select --print-path | ||
OUTPUT_VARIABLE XCODE_PATH | ||
OUTPUT_STRIP_TRAILING_WHITESPACE | ||
) | ||
set_cache(CMAKE_OSX_SYSROOT "${XCODE_PATH}/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk") | ||
|
||
if(CMAKE_HOST_SYSTEM_PROCESSOR MATCHES "x86_64") | ||
string(APPEND CMAKE_C_FLAGS_INIT " -march=ivybridge -mtune=cannonlake ") | ||
string(APPEND CMAKE_CXX_FLAGS_INIT " -march=ivybridge -mtune=cannonlake ") | ||
set_cache(KFR_ARCH sse2) | ||
elseif(CMAKE_HOST_SYSTEM_PROCESSOR MATCHES "arm*") | ||
set_cache(KFR_ARCH neon) | ||
endif() | ||
|
||
set_cache(BUILD_SHARED_LIBS OFF) | ||
set_cache(CMAKE_INSTALL_MESSAGE NEVER) | ||
|
||
set_cache(SCORE_DEPLOYMENT_BUILD 1) | ||
set_cache(SCORE_INSTALL_HEADERS ON) | ||
set_cache(OSSIA_STATIC_EXPORT ON) | ||
set_cache(SCORE_MACOS_ONLY_SYSTEM_LIBARIES ON) |
Submodule libsndfile
updated
118 files
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
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
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