[Bug 49773] Replace autotools with CMake.

WineHQ Bugzilla wine-bugs at winehq.org
Thu Sep 3 16:48:41 CDT 2020


https://bugs.winehq.org/show_bug.cgi?id=49773

--- Comment #2 from KOLANICH <kolan_n at mail.ru> ---
CMake is a terrible as a programming language, but it has killer features.

1. cmake has some batteries, such as compiler abstraction layer (detects
compiler, detects features, sets some flags). I.e, to set a language version in
CMake I just `set(CXX_VERSION 20)` and CMake itself checks if the compiler
supports it and then adds the needed flags. To enable -O3 I just set Release
configuration. Meson is not mature enough to have them.
2. noone, except the ones already using python, wants to install it. Really. If
one wants a python distro to be usable, it has to be large and long to install.
Especially if one wants feature parity to cmake.
3. CPack - a solution for building packages and installers. Though I have an
own solution (a metabuild system (and a bunch of libs and other tools powering
it) written in python) that aims to replace (and improve) CPack for any build
system (for now my tool supports autotools, CMake and Meson + dumb gnu make
with some human assistance), it is not yet mature and is pretty unfinished.

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list