Compiler options for generated sources
We have several generated source files that generate warnings we wouldn't tolerate in hand-written sources, so it'd be nice if there was a way to globally set warning flags that only apply to non-generated files.
The intuitive approach would be to use a generator expression around the GENERATED source property, but this doesn't seem to be evaluated in the way we expect (i.e. not per source file).
As a workaround, warning flags can be overridden on a per-file basis by the corresponding negative option, which works for gcc, but not for Visual Studio.