mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-11-22 02:19:44 +00:00
simplify macOS build
This commit is contained in:
parent
348c058c9b
commit
698fd32071
4 changed files with 38 additions and 14 deletions
15
README.md
15
README.md
|
|
@ -65,21 +65,16 @@ cmake --build . --parallel
|
|||
### Install libraries
|
||||
|
||||
```sh
|
||||
brew install glfw glew glm libpng libvorbis lua luajit libcurl openal-soft freetype
|
||||
git clone --recursive https://github.com/MihailRis/VoxelCore.git
|
||||
cd VoxelCore
|
||||
brew bundle
|
||||
```
|
||||
|
||||
> [!TIP]
|
||||
> If Homebrew fails to install `lua`, `luajit`, or `openal-soft`, download, compile, and install them manually.
|
||||
|
||||
### Building engine with CMake
|
||||
|
||||
```sh
|
||||
git clone --recursive https://github.com/MihailRis/VoxelCore.git
|
||||
cd VoxelCore
|
||||
mkdir build
|
||||
cd build
|
||||
cmake -DCMAKE_BUILD_TYPE=Release ..
|
||||
cmake --build . --parallel
|
||||
cmake --preset default-ninja-clang-macos
|
||||
cmake --build --preset default-ninja-clang-macos
|
||||
```
|
||||
|
||||
---
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue