Cmake support for SDL2 extensions?

Hello SDL folks,

Are there any plans to create CMakeLists.txt files for the SDL2 extensions
like SDL2_image and SDL2_mixer?

Since the core SDL library comes with a CMakeLists.txt, having one for all
the extensions would make the setup much easier.

Cheers,
Nicolas

It?s on my TODO list. As I want to clean up the current SDL2 CMake and add it to the other sub projects.On Mar 4, 2014, at 3:50 AM, Nicolas Guillemot wrote:

Hello SDL folks,

Are there any plans to create CMakeLists.txt files for the SDL2 extensions like SDL2_image and SDL2_mixer?

Since the core SDL library comes with a CMakeLists.txt, having one for all the extensions would make the setup much easier.

Cheers,
Nicolas


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

You can use ExternalProject to get support for them for the time being,
like this:

Of course that relies on you having a sane build environment, which VS is
not. It works reasonably well on other target though.

Actually ‘CMakizing’ all of the components is a titanic amount of work when
you look at all the dependencies.~
Doug.

On Tue, Mar 4, 2014 at 4:50 PM, Nicolas Guillemot wrote:

Hello SDL folks,

Are there any plans to create CMakeLists.txt files for the SDL2 extensions
like SDL2_image and SDL2_mixer?

Since the core SDL library comes with a CMakeLists.txt, having one for all
the extensions would make the setup much easier.

Cheers,
Nicolas


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org