Cmake sample project

For those who wants to use SDL libraries without any dependencies. I tested a project on Windows/Linux/Android.
The main idea of my aproash is “all the libraries we should compile themselves if we want a cross-platform project”.
The main problem for new developers is “Ohhh, I can’t compile this! Ohhh, compiler doesn’t see a header! Ohhh, how can I send my game to my friend without problems like ‘DLL NOT FOUND’?!”
To simplify the use of SDL I wrote a simple Cmake project. There is a two subprojects “sample” and “sandbox”.
In the “sandbox” you can write any SDL-related code, it already includes SDL, SDL_image, SDL_mixer and SDL_ttf.
The “sample” project contains some sample (obviously, yes) of using SDL.
Also there placed a sample for Android - just open project in Android Studio.

It’s not perfect, but it’s good to start using SDL :slight_smile:

P.S. It is worth noting that the project uses current dev versions of libraries, not the latest releases.

Strictly speaking, a link to the project GitHub - rmg-nik/sdl_sandbox