On 21.12.2021 at 13:37, Horváth V. wrote:

> The point of CMake is that you don't have to care too much about the
> system you are building the software on. The exact same CMake build
> files will work on all platforms that CMake supports. There is no
> "Windows support" specifically when you are working with CMake.

Yeah, but you need all build dependencies on Windows, and that is more
difficult than on many other systems.  The PHP SDK binary tools ship
several necessary tools, but of course you could get them by other
means.  However, the libraries are more of an issue.  vcpkg has a lot of
these, but some are completely missing (e.g. libxpm), and some packages
are even on older versions than we currently use for Windows builds.
The prebuilt Windows dependencies[1] mostly lack potentially required
CMake config-file packages.  All this can be fixed as appropriate, but I
wouldn't try to address that right away, and I think we want to ship
Windows binaries with the feature set that we currently have.

[1] <https://windows.php.net/downloads/php-sdk/deps/>

> In fact,
> I work on a Windows machine so I'll be adding CMake build tooling from
> that :)

If that works, all the better. :)

> Same goes to Conan and vcpkg AFAICT. But even then, their integration
> would be completely optional and transparent, so people can pick and
> choose between one of those or system dependencies.

Christoph

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: https://www.php.net/unsub.php

Reply via email to