CMake is not native tool on any platform, but an additional dependency.
MHD requires a minimal set of additional tools to be built/installed. Some platforms have all required tools to build MHD within platform's default installation set.
CMake is always required to be installed separately.autotools are much more flexible compared to CMake when you need to implement something tricky. And last but not least: GNU autotools is GNU project and suits best for GNU libmicrohttpd.
-- Evgeny On 02.05.2023 12:50, Rosen Penev wrote:
On May 2, 2023, at 12:22 PM, Evgeny Grin <k...@narod.ru> wrote: Hi Rosen, Short answer: For additional portability. GNU libmicrohttpd is very portable. Longer answer: Windows is the only (popular) platform without native support for POSIX-compatible Bourne shell and POSIX-compatible make. All other (popular) platforms support Bourne shell and make natively, so libmicrohttpd can be easily built with just native tools and compiler (with toolchain). On Windows, many developers (especially beginners) have only Visual Studio installed as a build system. These Windows devs can build MHD without installing any additional tools. Potentially a VS-compiled binary might have better compatibility with other VS-compiled binaries, however I'm not sure if this has any practical impact for MHD.Sure. Newer versions of VS also have built in CMake support. CMake also supports generating VS project files instead of the custom ones here. There’s also meson which doesn’t have as much IDE support.-- Evgeny On 02.05.2023 11:16, Rosen Penev wrote:On May 2, 2023, at 10:26 AM, Evgeny Grin <k...@narod.ru> wrote:Hi Antonis, ARM and ARM64 support has been added for Visual Studio builds.Out of curiosity, why are there multiple build systems?<OpenPGP_0x460A317C3326D2AE.asc>
OpenPGP_0x460A317C3326D2AE.asc
Description: OpenPGP public key
OpenPGP_signature
Description: OpenPGP digital signature