Hi all
I was speaking to a CMake dev on the topic of getting some FindSDL2*.cmake
modules, but he somewhat redirected me here, saying that SDL itself should
generate the files, rather than CMake including them in their repo
are there any “official” FindSDL2.cmake files anywhere?
i’m looking for SDL2 and SDL2_ttf
LordAro: there aren’t
ngladitz: any sort of an eta on them? SDL2 has been released for
a while now
I don’t think anyone is working on any find modules for SDL2 (or
even intends to work on them) as far as I know
dang
should i? :L
you could try to get SDL itself to provide cmake configuration
files
or try contributing those to SDL
then cmake wouldn’t need find modules for it
iirc SDL can be built with cmake, so…
I guess ideally they would have to generate and install the
cmake configuration files with all their supported build systems
indeed, in fairness they do also have premake and autotools build
systems…
I imagine it wouldn’t be too difficult for someone who is
familiar with those
http://www.cmake.org/cmake/help/git-master/manual/cmake-packages.7.html#package-layout
for reference
I imagine it would be similar to existing code that they have
for generating pkg-config files
So, thoughts? I could probably manage to write the files myself, but I
wouldn’t have much of an idea as to including them into SDL’s build
structure
Thanks
Charles