Major rewrite with new game engine BUILD IS BROKEN, WIP
This is a small minecraft clone built using OpenGL 4.6 and C++ 23. The project is in a very early, experimental stage 🚀.
Since this is meant for me to learn programming, don't expect high-quality stuff here for some time.
WIP
To build this project, you'll need:
- CMake
(>= 4.2.3) - Ninja
- A C++ compiler
- sccache
- mold
Make sure all four are installed and added to your system's PATH if you're on Windows.
After building, all build files will be stored in the build directory.
The final binary will be located in:
build/debug/game/for Debug buildsbuild/release/game/for Release builds
Open a terminal in your desired folder and run:
git clone --recurse-submodules https://github.com/MAKMART/minecraft_clone.git
cd minecraft_clone
⚠️ Warning: You need to have git installed.
Choose the build type:
# For Debug build
cmake --workflow --fresh --preset debug
# For Release build
cmake --workflow --fresh --preset release
# To build engine tests
cmake --workflow --fresh --preset tests
# To see available options
cmake --workflow --list-presets✅ Once configured, you only need to run the build command again if you make changes.
If you run into any build issues or have questions, feel free to email me.