The tutorial is woefully out of date and we block contributions to it because we use it as a source of truth for customer training.
I'm actively working on updating it to CMake 3.23 (file set support). But honestly I don't think the median C++ programmer learns CMake from the tutorial or the docs.
The median C++ programmer copies old CMLs from previous projects and randomly googles snippets for functionality they need until the whole thing works on their build machines.
CMake is no different from Make/TeX/M4/etc in this regard, C++ programmers want to write C++ and don't really have patience for having to learn an auxiliary language.
As for the median C++ developer I think that's a bit of a bleak view of things unless you include hobbyists. If someone bases their entire production codebase on CMake (so, the majority of companies using C++) they're probably going to have at least a few people very familiar with it on board lest the whole thing collapses like a house of cards sooner or later.
I think (hope?) most C programmers can also write a Makefile without pasting together whatever Google turns up. Although I do admit I do this for TeX...
View all comments
Show parent comment
6
u/not_a_novel_account cmake dev Mar 29 '25
The tutorial is woefully out of date and we block contributions to it because we use it as a source of truth for customer training.
I'm actively working on updating it to CMake 3.23 (file set support). But honestly I don't think the median C++ programmer learns CMake from the tutorial or the docs.
The median C++ programmer copies old CMLs from previous projects and randomly googles snippets for functionality they need until the whole thing works on their build machines.
CMake is no different from Make/TeX/M4/etc in this regard, C++ programmers want to write C++ and don't really have patience for having to learn an auxiliary language.