Ideally you would want to have a custom build step for the inputfiles that serve as a base for the generated .h and .cc files.

I assume there will be some sort of templatefile, script, database or...