libsdl-org / SDL_helloworld

A Hello World project that uses SDL.
Other
8 stars 5 forks source link

Automatically download SDL with CMake? #4

Open icculus opened 11 months ago

icculus commented 11 months ago

Should we use ExternalProject to either download a formal release, or clone from GitHub, so the user doesn't have to bother with this at all?

I don't know much about ExternalProject, so this might be a terrible idea.

aseiis commented 2 months ago

What about CMake FetchContent? It is often cited as the current most used practice for consuming libs available on GitHub For this kind of "Hello World" project it could be a good fit since it's quite simple to use

edit: a pull request has already been opened with FetchContent integration here : #5