Compare commits
4 Commits
146f1e0855
...
fdfac9d951
| Author | SHA1 | Date | |
|---|---|---|---|
| fdfac9d951 | |||
| 7ba37df367 | |||
| 4176c39620 | |||
| 91ffaca437 |
14
cmake/osx-arm64.cmake
Normal file
14
cmake/osx-arm64.cmake
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
# QUIK Toolchain file for OSX-ARM64 systems.
|
||||||
|
# Copyright (C) 2024
|
||||||
|
|
||||||
|
set(CMAKE_SYSTEM_NAME Darwin)
|
||||||
|
|
||||||
|
set(CMAKE_C_COMPILER aarch64-apple-darwin23-clang)
|
||||||
|
set(CMAKE_CXX_COMPILER aarch64-apple-darwin23-clang++)
|
||||||
|
|
||||||
|
set(CMAKE_FIND_ROOT_PATH "/usr/local/SDK/MacOSX14.0.sdk/usr"
|
||||||
|
"/usr/local/SDK/MacOSX14.0.sdk/System")
|
||||||
|
|
||||||
|
set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
|
||||||
|
set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
|
||||||
|
set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)
|
||||||
14
cmake/osx-x64.cmake
Normal file
14
cmake/osx-x64.cmake
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
# QUIK Toolchain file for OSX-ARM64 systems.
|
||||||
|
# Copyright (C) 2024
|
||||||
|
|
||||||
|
set(CMAKE_SYSTEM_NAME Darwin)
|
||||||
|
|
||||||
|
set(CMAKE_C_COMPILER x86_64-apple-darwin23-clang)
|
||||||
|
set(CMAKE_CXX_COMPILER x86_64-apple-darwin23-clang++)
|
||||||
|
|
||||||
|
set(CMAKE_FIND_ROOT_PATH "/usr/local/SDK/MacOSX14.0.sdk/usr"
|
||||||
|
"/usr/local/SDK/MacOSX14.0.sdk/System")
|
||||||
|
|
||||||
|
set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
|
||||||
|
set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
|
||||||
|
set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)
|
||||||
0
sh/publish.sh
Normal file → Executable file
0
sh/publish.sh
Normal file → Executable file
@@ -16,7 +16,7 @@ fi
|
|||||||
|
|
||||||
if [ -z "$ARCHS" ]
|
if [ -z "$ARCHS" ]
|
||||||
then
|
then
|
||||||
ARCHS="linux-arm linux-arm64 linux-x64 win-x64 win-x86"
|
ARCHS="linux-arm linux-arm64 linux-x64 win-x64 win-x86 osx-arm64 osx-x64"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -z "$DST" ]
|
if [ -z "$DST" ]
|
||||||
@@ -43,8 +43,6 @@ for ARCH in $ARCHS; do
|
|||||||
cmake -B $BUILD -S $SRC \
|
cmake -B $BUILD -S $SRC \
|
||||||
-G Ninja \
|
-G Ninja \
|
||||||
-DCMAKE_BUILD_TYPE=Release \
|
-DCMAKE_BUILD_TYPE=Release \
|
||||||
-DCMAKE_C_FLAGS=-static-libgcc \
|
|
||||||
-DCMAKE_CXX_FLAGS=-static-libgcc \
|
|
||||||
-DCMAKE_INSTALL_PREFIX=$PREFIX \
|
-DCMAKE_INSTALL_PREFIX=$PREFIX \
|
||||||
-DCMAKE_TOOLCHAIN_FILE=$TOOLCHAIN \
|
-DCMAKE_TOOLCHAIN_FILE=$TOOLCHAIN \
|
||||||
$QUIK_ADDITIONAL_CMAKE
|
$QUIK_ADDITIONAL_CMAKE
|
||||||
|
|||||||
Reference in New Issue
Block a user