Added cmain check to generator
Merge branch 'master' of https://github.com/sayon/ignoreme