From 2a221806b5c39d0614a07fab9fde9126dda11b0e Mon Sep 17 00:00:00 2001 From: "Amine B. Hassouna" Date: Sun, 28 Oct 2018 15:08:50 +0100 Subject: [PATCH] Add dependency list --- README.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/README.md b/README.md index e624ac8..a4c2299 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,29 @@ This project is a basic C SDL project that uses CMake as a build system. +## Dependencies + +- Git +- C Compiler (gcc, ...) +- CMake +- SDL2 library + +**On Debian/Ubuntu based distributions, use the following command:** + +```sh +sudo apt install git-core build-essential pkg-config cmake cmake-data libsdl2-dev +``` + +**Optional packages:** + +- SDL2_image library +- SDL2_ttf library +- SDL2_gfx library + +```sh +sudo apt install libsdl2-image-dev libsdl2-ttf-dev libsdl2-gfx-dev +``` + ## License This project is distributed under the terms of the MIT license