Improvements to code generator

- Add generator files to targets to show them in VS solutions
- mark generated files as such in CMake
32 jobs for master in 113 minutes and 42 seconds (queued for 1 minute and 15 seconds)