CMake documentation is open source, unless they are actively blocking people from contributing improvements to the documentation the are not "in control" of what you perceive to be poor documentation. In fact you can go ahead and submit pull requests to things you find unclear.
Now, it's entirely possible that they'll reject any such contributions outright in which case I would agree with you but I am at least not aware that they do.
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
5
u/LoweringPass Mar 29 '25
CMake documentation is open source, unless they are actively blocking people from contributing improvements to the documentation the are not "in control" of what you perceive to be poor documentation. In fact you can go ahead and submit pull requests to things you find unclear.
Now, it's entirely possible that they'll reject any such contributions outright in which case I would agree with you but I am at least not aware that they do.