mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-11-21 09:59:44 +00:00
add macOS .app bundle and dmg packaging
This commit is contained in:
parent
698fd32071
commit
f241e4c355
9 changed files with 180 additions and 16 deletions
13
README.md
13
README.md
|
|
@ -77,6 +77,19 @@ cmake --preset default-ninja-clang-macos
|
|||
cmake --build --preset default-ninja-clang-macos
|
||||
```
|
||||
|
||||
### Building `.app` and `.dmg`
|
||||
> [!NOTE]
|
||||
> User files are stored in `~/Library/Application Support/VoxelCore`.
|
||||
```sh
|
||||
cmake --preset default-ninja-clang-macos -DVOXELENGINE_BUILD_MACOS_BUNDLE=ON
|
||||
cmake --build --preset default-ninja-clang-macos
|
||||
cd build
|
||||
cpack
|
||||
```
|
||||
|
||||
This creates `build/VoxelCore.dmg` with a self-contained `VoxelCore.app`
|
||||
(Homebrew libraries are copied into the bundle).
|
||||
|
||||
---
|
||||
|
||||
## Building in Windows
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue