3 ms·
As someone who "gets wild" in cmake, if it did not allow it I would basically have to write my own build system to do what I want (mostly parsing / preprocessin
by jcelerier 7y ago
As someone who "gets wild" in cmake, if it did not allow it I would basically have to write my own build system to do what I want (mostly parsing / preprocessing / code generation). These steps have to be somewhere and I'd much rather reuse the infrastructure available in cmake for that rather than roll my own - especially given how easily it runs on windows.
- maccard 7y agoI've also had to get wild in cmake (codegen), but in hindsight, the code that I wrote for that was the most brittle part of our build system at the time. I'd love to know of an alternative to writing gnarly cmake for stuff like this though, particularly to work cross platform and generate IDE projects.