Live data from Hacker News

Show HN: Xmake, a modern C/C++ build utility

github.com

11–20 of 190 posts

Re: Show HN: Xmake, a modern C/C++ build utility

#12

cmake is NOT a build utility. It is dependency tracking and configuration utility

"CMake is an open-source, cross-platform family of tools designed to build, test and package software. CMake is used to control the software compilation process using simple platform and compiler independent configuration files, and generate native makefiles and workspaces that can be used in the compiler environment of your choice."

They would disagree with you.

Re: Show HN: Xmake, a modern C/C++ build utility

#15

Now we have N+1 incompatibile build systems.

I think half those N's are cmake itself considering the amount of time I see "requires cmake x.x or above" messages.

I wouldn't find having many build system such an issue if they'd just add a makefile (and maybe ./configure) to call that build system, giving devs a consistent interface and not having to lookup up how to do a simple build.

Re: Show HN: Xmake, a modern C/C++ build utility

#17
post #14

Meson[0] has been gaining in popularity and has migration tools for cmake projects. Large projects such as systemd and gnome[1] have migrated or have been migrating for years [0] https://mesonbuild.com/ [1] https://wiki.gnome.org/Initiatives/GnomeGoals/MesonPorting

But the meson installation has many dependencies, it is not very lightweight, it needs python, ninja, and xmake has built-in luajit, no third-party dependencies, more lightweight

Re: Show HN: Xmake, a modern C/C++ build utility

#20
post #12

cmake is NOT a build utility. It is dependency tracking and configuration utility

"CMake is an open-source, cross-platform family of tools designed to build, test and package software. CMake is used to control the software compilation process using simple platform and compiler independent configuration files, and generate native makefiles and workspaces that can be used in the compiler environment of your choice." They would disagree with you.

no, they won't

"generate native makefiles" (I prefer Ninja myself) - this is what used to build software

Post reply on HN