Make voglgen accept specdir as option
Move generation of files to cmake
Remove generated files.