Add dependency list
This commit is contained in:
23
README.md
23
README.md
@@ -2,6 +2,29 @@
|
|||||||
|
|
||||||
This project is a basic C SDL project that uses CMake as a build system.
|
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
|
## License
|
||||||
|
|
||||||
This project is distributed under the terms of the MIT license
|
This project is distributed under the terms of the MIT license
|
||||||
|
|||||||
Reference in New Issue
Block a user