![]() |
SANDAL2
A SDL2 Wrapper in C
|
SANDAL2 is a SDL2 wrapper which purpose is to make object managment and graphic display easier.
To generate the Doxygen documentation, use the command: doxygen Doxyfile
I am a French student, studying computer science engineering at ISIMA, France. I made this wrapper because I found boresome to have to create a display function for each menu's page, but I ended up going a little further in it. I hope you will enjoy using it, if you have any comment or advice, do not feel shy and tell me (by posting an issue here) ! I will really appreciate it.
Huge thanks to dabaldassi for the contribution he had for this project : biggest tester, user and promoter of SANDAL2.
dabaldassi : version 1.2.3
From this "read-me", you can either go to :
Regardless the way you install SANDAL2, you'll need to include SANDAL2.h and use -lm -lSDL2 -lSDL2_ttf -lSDL2_image
compilation flags. To install SDL2, you only needs to enter those commands :
Installing :
Then you'll need to add -lSANDAL2
as a compilation flag before all the SDL2 flags.
Uninstalling :
If the package is not made for your computer, or you simply want to use the github directory, you can clone the github project. Once you have it, and you are in the directory of the repository, you can install the package using this command :
You can also directly use the source code. A Makefile is provided in downloadable
.
A pseudo generic makefile is downloadable here
A FindSANDAL2.cmake
file was created for this project. Also, find files can be found for SDL2_ttf and SDL2_image. All those files are downloadable here.