Hacker News new | ask | show | jobs
by waruqi 2032 days ago
cmake is just a project generator, it does not have its own build system and package management.

and xmake = make + project generator + package manager

In addition, I don't like cmake's DSL syntax, which is very tedious and difficult to maintain.

1 comments

>>In addition, I don't like cmake's DSL syntax, which is very tedious and difficult to maintain.

I don't agree that Cmake is difficult and hard to maintain.

I do believe that most people write complete messes in their makefile so that they become brittle and hard to maintain.

The so called "modern Cmake" approach, with its declarative approach to project files, is delightful to work with, unlike the old and beaten imperative based path of forcing Cmake to be a glorified scripting language when it never was.

This. Many PRs that introduce CMake tend to be massive rats nests of configuration slurry that could be summed up in a tenth of the LOC.