Building for MacOS
What you will need:
- CMake (
brew install cmake
)
- A recent version of Xcode and the Xcode command line tools
Cloning Lime3DS
git clone --recursive https://github.com/Lime3DS/Lime3DS
cd Lime3DS
Building
- Make the build directory:
mkdir build && cd build
- Make CMake files:
cmake ..
- Apple Silicon - arm64 to x86_64:
cmake .. -DCMAKE_OSX_ARCHITECTURES="arm64"
- Apple Silicon - x86_64 to arm64:
cmake .. -DCMAKE_OSX_ARCHITECTURES="x86_64"
- Make executable:
make -j4
- Make a distributable executable with:
make bundle