Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Descriptive Wiki entries for CMake options #11230

Open
M2-TE opened this issue Oct 16, 2024 · 1 comment
Open

Descriptive Wiki entries for CMake options #11230

M2-TE opened this issue Oct 16, 2024 · 1 comment

Comments

@M2-TE
Copy link

M2-TE commented Oct 16, 2024

The CMake options are currently being described in the README-cmake.md, which seems to be missing some options that may be of interest to people who use CMake's FetchContent or would otherwise build SDL themselves in general.

Examples include stuff like SDL_VULKAN or SDL_OPENGL, support for which is automatically enabled under e.g. Windows. Disabling these manually should not be an issue if the application does not plan on using these graphics APIs (as far as I am aware) and would cut down on compilation time + file size.

Another example would be SDL_PRESEED, of which I'm curious about how it works exactly, as configuration time can be rather long.

It would also be nice if all the CMake configuration options could be put onto the SDL3/FrontPage Wiki, so that these are available at a glance. Currently there's just the SDL3/Installation section, but it focuses more on the different platforms, rather than CMake options themselves, so it might warrant an extra page such as SDL3/CMake.

@slouken
Copy link
Collaborator

slouken commented Oct 16, 2024

Feel free to contribute a PR!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants