Re: Surveying interest regarding CMake
| From: | Horváth V. | Date: | Fri, 17 Dec 2021 13:47:11 +0000 |
| Subject: | Re: Surveying interest regarding CMake | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-116668@lists.php.net to get a copy of this message | ||
One thing I forgot to ask is what minimum CMake version should php-src
support in its build scripts? For reference, please take a look at
repology.org for the packaging status of CMake across a lot of software
distributions: https://repology.org/project/cmake/badges
Please note that the lower you go, the less convenience you will be
afforded and the more workarounds you will have to implement to have
that convenience.
Personally, I posit that targeting 3.8 would still allow vast majority
of people to depend on nothing but their system package manager, however
I must note that upgrading CMake is trivial and I recommend anyone
wanting to verify that to read Alex Reinking's blog post about this:
https://alexreinking.com/blog/how-to-use-cmake-without-the-agonizing-pain-part-1.html