Basic sample that demonstrates the usage of SDL2 and SDL2_ttf libraries with CMake.
Basic C SDL2 project with CMake