fixed parsing enums with tailing comma
gen2.py reports headers it processes
cmake file restructured