From b409b76ecae263715d5412875a5b988d1e8ffd79 Mon Sep 17 00:00:00 2001 From: Linus Probert Date: Tue, 23 Apr 2019 16:05:47 +0200 Subject: [PATCH] Improved build instruction structure --- LINUX_BUILD_INSTRUCTIONS.md | 10 ++++++++++ README.md | 14 ++------------ 2 files changed, 12 insertions(+), 12 deletions(-) create mode 100644 LINUX_BUILD_INSTRUCTIONS.md diff --git a/LINUX_BUILD_INSTRUCTIONS.md b/LINUX_BUILD_INSTRUCTIONS.md new file mode 100644 index 0000000..b9ed405 --- /dev/null +++ b/LINUX_BUILD_INSTRUCTIONS.md @@ -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 +``` \ No newline at end of file diff --git a/README.md b/README.md index 67ce2cf..6762cc9 100644 --- a/README.md +++ b/README.md @@ -46,18 +46,8 @@ BreakHack is released under two different licenses. 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). -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 -``` - -Also see [compilation instructions for Windows](MSVC_BUILD_INSTRUCTIONS.md). +[Linux](LINUX_BUILD_INSTRUCTIONS.md) +[Windows (Visual Studio)](MSVC_BUILD_INSTRUCTIONS.md) Contribute ----------