3 ms·
It's kind of infuriating that CMakeLists even has to be manually made, because the compiler can clearly tell you what's wrong about almost every line in it if y
by moffkalast 4y ago
It's kind of infuriating that CMakeLists even has to be manually made, because the compiler can clearly tell you what's wrong about almost every line in it if you mess it up. It should be completely doable to generate at least like 95% of it at compile time. Just so much repetitive boilerplate, like it was made by Oracle or something.
- andrewstuart 4y agoI don’t understand what you’re unhappy about.
- moffkalast 4y agoAbout having to specify all deps manually, all executable files, in which directories they are, which libs to link, etc. I mainly use it with ROS, where there's even more custom garbage to specify, like message building, package definitions and more. Don't forget to get it all in the correct order too and list every dep in the correct group depending on how it's used, or it won't compile. Fml. Things every modern language with a deps manager infers completely automatically without having to ever think about it. Sure it's understandable that C++ is still so far behind the times for legacy compatibility reasons, but I don't see why we haven't yet gradually moved towards something less tedious.