Fix the build, ignore build output

Here's the change to the project file you suggested that fixed the build for me.
I've also added a .gitignore file to prevent generated files showing up in `git status` etc.

Thanks! Works great and is exactly what I was looking for.