In other projects that generate source files, they are created in the obj folder rather than in project. This solves the problem of .gitignore and is generally more tidy.