CMake Build System

The cluster centers on debates about CMake's effectiveness as a C/C++ build tool, its painful syntax and cruftiness, reasons for its persistence, and alternatives like Meson, xmake, and autotools.

📉 Falling 0.4x DevOps & Infrastructure
3,562
Comments
19
Years Active
5
Top Authors
#7949
Topic ID

Activity Over Time

2008
9
2009
1
2010
15
2011
18
2012
37
2013
65
2014
80
2015
145
2016
171
2017
225
2018
266
2019
326
2020
359
2021
393
2022
397
2023
413
2024
318
2025
316
2026
8

Keywords

e.g GNU VS2015 FetchContent MSYS2 xmake.io IHMO SDK VisualStudioVersion github.com cmake build projects compile files libraries maven build systems file compiler

Sample Comments

shortrounddev2 Jun 6, 2025 View on HN

How have we still not come up with anything better than cmake?

rlp Feb 15, 2018 View on HN

Is there a better alternative to CMake? I find its syntax painful and inconsistent, but once a project is configured, it works reasonably well for producing cross-platform builds.

dynamite-ready Sep 1, 2021 View on HN

Why has it been so hard to displace CMake?

izacus Mar 14, 2017 View on HN

As a C/C++ build system it's severely lacking in features. CMake is orders of magnitude more useful.

dingo_bat Mar 1, 2018 View on HN

Is there a problem with cmake? Why are people still inventing new build systems?

pavlov Aug 20, 2017 View on HN

Or just use CMake -- it's not perfect, but it explicitly solves this.

davexunit Oct 2, 2014 View on HN

Cmake is a fucking nightmare to work with. Autotools are light years better and more robust than cmake.

Kukumber Dec 6, 2022 View on HN

CMake needs to goThere are much better alternatives:https://xmake.io/

bodhiandphysics Feb 28, 2023 View on HN

Me neither.. but cmake is infectious. You end up using it because you need libraries that use it

int_19h Aug 21, 2017 View on HN

CMake is rather crufty itself. There are many better options these days.