simplify macOS build

This commit is contained in:
Sergey Asadov 2026-11-12 19:40:14 +03:00
parent 348c058c9b
commit 698fd32071
4 changed files with 38 additions and 14 deletions

View file

@ -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
```
---