[RFC] SDL_ttf CMake support

Hello all,

I’ve created a CMake support for SDL_ttf, it requires massive tests because I don’t have all platforms on my desk. I’ve successfully tested it on:

  • Windows (both MinGW-w64 and VS2017)
  • Linux (fedora 28)

I would like some people to try for other platforms like iOS or macOS.

Note: you MUST have SDL2 installed with CMake too (it uses the SDL2Config.cmake config module that is available only if SDL2 was built/installed through CMake).

In a nutshell:

hg clone http://hg.markand.fr/SDL_ttf
cd SDL_ttf && mkdir build && cd build
make && sudo make install

Please tell me if anything goes wrong or missing feature.

I’ll do the same for SDL_mixer, SDL_net and SDL_image as well.