Improved build instruction structure

This commit is contained in:
Linus Probert 2019-04-23 16:05:47 +02:00
parent b0753901ec
commit b409b76eca
2 changed files with 12 additions and 12 deletions

View File

@ -0,0 +1,10 @@
Apart from basic compile tools (*GCC/Clang, Make*) you'll also need to install **sdl2, sdl2-image, sdl2-ttf, sdl2-mixer** (If on a debian based dist you need to install the *dev* packages).
Optionally you can also install **cppcheck** and **physfs**
Once that is done run the following:
```bash
mkdir _build
cd _build
cmake -DCMAKE_BUILD_TYPE=Debug .. # Build type flag is optional
make
```

View File

@ -46,18 +46,8 @@ BreakHack is released under two different licenses.
Compile Compile
------- -------
Apart from basic compile tools (*GCC/Clang, Make*) you'll also need to install **sdl2, sdl2-image, sdl2-ttf, sdl2-mixer** (If on a debian based dist you need to install the *dev* packages). [Linux](LINUX_BUILD_INSTRUCTIONS.md)
Optionally you can also install **cppcheck** and **physfs** [Windows (Visual Studio)](MSVC_BUILD_INSTRUCTIONS.md)
Once that is done run the following:
```bash
mkdir _build
cd _build
cmake -DCMAKE_BUILD_TYPE=Debug .. # Build type flag is optional
make
```
Also see [compilation instructions for Windows](MSVC_BUILD_INSTRUCTIONS.md).
Contribute Contribute
---------- ----------