https://bugs.winehq.org/show_bug.cgi?id=49773
Bug ID: 49773 Summary: Replace autotools with CMake. Product: Wine Version: 5.16 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: build-env Assignee: wine-bugs@winehq.org Reporter: kolan_n@mail.ru Distribution: ---
Autotools is a major inconvenience when building wine. It is too slow to configure (bash-based), too inconvenient to install on Windows (I haven't found any official prebuilt packages, and building autotools itself requires ... perl, which itself is a problem to build, (and using proprietary bundles lioe ActivePerl is completely not an option) ) and too awful to customize.
It is proposed to replace it with CMake.
https://bugs.winehq.org/show_bug.cgi?id=49773
Alexandr Oleynikov sashok.olen@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |sashok.olen@gmail.com
--- Comment #1 from Alexandr Oleynikov sashok.olen@gmail.com --- Why CMake and not Meson? ????
https://bugs.winehq.org/show_bug.cgi?id=49773
--- Comment #2 from KOLANICH kolan_n@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.
https://bugs.winehq.org/show_bug.cgi?id=49773
--- Comment #3 from KOLANICH kolan_n@mail.ru --- *CXX_STANDARD, not CXX_VERSION
https://bugs.winehq.org/show_bug.cgi?id=49773
--- Comment #4 from KOLANICH kolan_n@mail.ru --- *CMAKE_CXX_STANDARD
https://bugs.winehq.org/show_bug.cgi?id=49773
Fabian Maurer dark.shadow4@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dark.shadow4@web.de
https://bugs.winehq.org/show_bug.cgi?id=49773
François Gouget fgouget@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |WONTFIX CC| |fgouget@codeweavers.com Status|UNCONFIRMED |RESOLVED
--- Comment #5 from François Gouget fgouget@codeweavers.com --- This is not the direction Wine is taking and I don't think any of the top Wine developers would agree to switch to CMake. So I am closing this bug to reflect that. Sorry.
https://bugs.winehq.org/show_bug.cgi?id=49773
Gijs Vermeulen gijsvrm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #6 from Gijs Vermeulen gijsvrm@gmail.com --- Closing.