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 - Drop autotools and fully adopt CMake
Summary: Drop autotools and fully adopt CMake
Status: RESOLVED WONTFIX
Alias: None
Product: SDL
Classification: Unclassified
Component: *don't know* (show other bugs)
Version: 2.0.8
Hardware: All All
: P2 normal
Assignee: Sam Lantinga
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-05-28 15:56 UTC by Leonardo
Modified: 2018-05-29 11:24 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.