SDL icon indicating copy to clipboard operation
SDL copied to clipboard

Next steps with CMake support...

Open icculus opened this issue 3 years ago • 1 comments

I've been thinking. I would keep CMake support of the SDL main project experimental until I've made sure every cmake configuration option name has the same name layout and checked its behavior is "conform". Unless we mean by removing the "experimental", we support it and will fix all issues, but do not commit on supporting every cmake configuration option.

Right now, the CMake configuration has SDL2_xx and SDL_xx options. I'm not sure what naming convention is best. For the SDL satellite projects, we've settled on using e.g. SDL2IMAGE_xxx. For SDL, I suppose switching to SDL2_xxx would be a too big break so I will stick to SDL_xxx.

Also, I've restrained myself from changing too much in the cmake script. I would like to do some refactoring in the next development cycle, and avoid having to support the current names. (Externally, there probably won't change much, only the SDL2_*` options will disappear)

Originally posted by @madebr in https://github.com/libsdl-org/SDL/issues/5237#issuecomment-1209693753

icculus avatar Aug 09 '22 20:08 icculus

Also mentioned in #5961 ...

Does NOT solve https://github.com/libsdl-org/SDL/issues/5237, because it does not address Android.

I'm planning to greatly simplify bootstrapping new Android SDL applications, which would nullify changes made now.

icculus avatar Aug 09 '22 20:08 icculus