docs: add build guide

This commit is contained in:
2026-04-19 18:01:09 +08:00
parent 553955841b
commit 6c74f4582c

View File

@@ -1,2 +1,21 @@
## What's it
A cube game like Minecraft, using C++ and OpenGL.
## Build Guide
### Prerequisites
- **CMake** (>= 3.24)
- **C++ 23** compatible compiler
### Step
1. Clone the repository
```bash
git clone https://github.com/zhenyan121/Cubed.git && cd Cubed
```
2. Configure with CMake
```bash
mkdir build && cd build
cmake -G "Ninja" ..
```
3. Build the project
```bash
ninja
```