@neko Yeah I could use bear on makefile but that's lame. CMake does everything I want, I'm not even sure why people don't like it other than it's _too_ flexible for basic codebases that aren't a giant asset pipeline like gamedev projects.
FOSS Devs: I compile a bunch of cpp devs for my computer Me: I build tools which generate source headers and combine N deps into N outputs which may or may not be in the same directory. I recompile the same files multiple times with different preprocesser definitions. I build all these things for multiple architectures, to multiple code containers, including to WASM, also when you build the tools that builds the tools make sure you don't build that in WASM, build that for native architecture.
@crunklord420 Contribute it! (or ill contribute it), im sure its requested somewhere, although personally i dont use these features much.
BTW you know there are tools for generating these json scripts too, right? Some of them take a Makefile (premake generates a Makefile if you use the makefile backend), which you can then pass to *that* tool which creates your things. Meson probably struggles with such because of Ninja
@crunklord420 Cmake is great for lots of things, but for some things, its ass. Many people use convenient scripts and stuff for CMake which create packages and functions easily, but... try actually making one yourself.. go ahead.
CMake just had a bad language, with weird shit like strings for lists... its mainly done to make simple scripts look simple, but for complex things you might as well kill yourself. Not to mention its HORRIBLE docs and reliance on stackoverflow. Fortunately, Cmake is tried and tested and aged pretty well so it does have some stability i cant complain about.
Premake5 is lua and also does the cool cmake things like generation. Funny enough its way more used for game devs since they usually know lua... IMO people should stop creating new langs from the ground up and use embedded ones people know. I like that philosophy with Premake5. (theres also XMake which is lua and has more goyslop but idk)
CMake peaks in support for backends though, no doubt, but premake does support a good list of popular ones