I have a concept in Wilco called "features", which is an abstraction of compiler flags basically. So for example:
project.features += feature::FastMath;
would add "/fp:fast" for msvc and "-ffast-math" for GCC/clang.
But... I'm thinking about ditching this and relying on setting flags directly.
There are so many nuances in flags and differences between compilers, I'm not sure it makes sense to try to abstract it.
@SonnyBonds I’ve been using xmake lately which has similar concepts for a selected subset of configurations, like https://xmake.io/#/manual/project_target?id=targetset_pcxxheader
@johanster Yeah... I can't quite decide if I like it or not. It definitely _is_ simpler to understand and use in most cases so maybe I should keep it.