- GNU/Linux
CMake is required to generate build configurations. Please install GLFW from your distribution's repositories. Ubuntu:
$ sudo apt install libglfw3-dev
Arch Linux (X11 only):
$ sudo pacman -S glfw-x11
Once you have it installed, run the following:
$ mkdir build
$ cd build
$ cmake ../
$ make
To run it, move the compiled binary to the repo's root directory and run
$ mv BadMinecraftClone ../
$ ./BadMinecraftClone
- Windows (MinGW or Visual Studio)
CMake is required to generate build configurations. For Windows, you need to compile GLFW and place libglfw3 in the lib folder. Other than that, use CMake to configure the project to the compiling environment of your choice. Once you're done compiling, take BadMinecraftClone.exe and move it to the repo's root directory and run.