Building for macOS - Supernova (original) (raw)
- Introduction
- Getting started
Getting started- Creating a basic project
- Building
Building
* Building for Windows
* Building for Linux
* Building for macOS Building for macOS
Table of contents
* 1. Clone Supernova repo
* 2. Install dependencies
* 3. Build for macOS
* a. Using build tool
* b. Using CMake
* Building for iOS
* Building for Android
* Building for HTML5
- Learning
Learning - Class Reference
Class Reference
Table of contents
1. Clone Supernova repo¶
git clone https://github.com/supernovaengine/supernova.git
2. Install dependencies¶
- cmake
- ninja
3. Build for macOS¶
a. Using build tool¶
In tools
directory:
python3 supernova.py --build --platform macos
b. Using CMake¶
In Supernova root directory:
cmake \ -S . \ -B build \ -DCMAKE_BUILD_TYPE=Debug \ -G "Ninja" \ -DCMAKE_INSTALL_PREFIX:PATH=instdir
cmake --build build --config Debug --target supernova-project
cmake --install build --config Debug --strip