We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 4180

Summary: Drop autotools and fully adopt CMake
Product: SDL Reporter: Leonardo <leonardo.guilherme>
Component: *don't know*Assignee: Sam Lantinga <slouken>
Status: RESOLVED WONTFIX QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2 CC: sezeroz
Version: 2.0.8   
Hardware: All   
OS: All   

Description Leonardo 2018-05-28 15:56:55 UTC
World seems to be moving away from autotools and CMake is becoming a somewhat standard these days. I know that there is a CMakeLists.txt file available and that it works, but SDL is still built using autotools for the distros around.

I'm suggesting we drop autotools support entirely and support only CMake, since it is more powerful and has better cross-platform support. Not only that, the burden of producing identical (or even similar) results with both CMake and autotools and Android.mk is too heavy.

On top of that, I believe the current CMakeLists.txt can be simplifie and we could take advantage of CPack to generate installers and releases.
Comment 1 Ozkan Sezer 2018-05-29 05:13:54 UTC
(In reply to Leonardo from comment #0)
> World seems to be moving away from autotools and

Really now?..
Comment 2 Sam Lantinga 2018-05-29 11:24:48 UTC
The autotools support is still useful for us as developers. Distros are welcome to use either one to build and release SDL, and we accept patches for both.