1 # Building instructions
3 CMake is used for compiling. Make sure to clone the repository recursively:
6 git clone --recurse-submodules https://github.com/dragonblocks/dragonblocks_alpha.git
10 To build anything you need CMake. The ZLib development library is needed as well.
13 sudo apt install build-essential cmake zlib1g-dev
16 The development versions of OpenGL, GLFW3, GLEW and Freetype are required to build the client.
19 sudo apt install libgl1-mesa-dev libglfw3-dev libglew-dev libfreetype-dev
22 For building the server the SQLite3 development library is required.
25 sudo apt install libsqlite3-dev
28 ## Building a debug build
29 By default CMake will make a Debug build if nothing else is specified. Simply use
37 to build the dragonblocks client and server.
38 If you use a debug build, the singleplayer script should be invoked from the src/ directory, because that's where the binaries are located.
40 ## Building a snapshot
45 This script will create a snapshot zipfile.