r/cpp • • Apr 12 '26

CMake Past, Present, and Future - Bill Hoffman, Kitware [29m25s]

https://www.youtube.com/watch?v=cD-JgncskTQ
68 Upvotes

134 comments sorted by

View all comments

Show parent comment

2

u/puredotaplayer Apr 13 '26

That is too abstract though. The only reason there is a language there is because we need control flow, which can be solved by better constructs. An example is, a rule is only valid for certain platform. Instead of having a ‘if (check)’ here, we can have a ‘filter’ construct that can solve the same problem. To me it makes more sense in a build system to follow this pattern for clarity and simplicity.