mac stuff

This commit is contained in:
Alex Janka 2022-08-01 11:11:59 +10:00
parent 3a8c5fa396
commit a7250d2eb4
2 changed files with 12 additions and 0 deletions

1
README.md Normal file
View file

@ -0,0 +1 @@
default windows cmake toolchain assumes [xwin](https://github.com/Jake-Shadle/xwin) has been used to download windows sdks to $HOME/winsdk

11
toolchain-mac-native.cmake Executable file
View file

@ -0,0 +1,11 @@
list(APPEND CMAKE_PREFIX_PATH "$ENV{HOME}/JUCE")
#set(CMAKE_C_COMPILER clang)
#set(CMAKE_CXX_COMPILER clang++)
#set(CMAKE_AR llvm-ar)
#set(CMAKE_LINKER l64.lld)
#set(CMAKE_RANLIB llvm-ranlib)
#set(CMAKE_CXX_FLAGS "-arch arm64 -arch x86_64")
set(CMAKE_OSX_ARCHITECTURES "arm64;x86_64" CACHE STRING "")