fixing ide script for empty ides, adding gitignore for generated files, auto-moving generated files to subdirectory of builddir