Script generating headers for cpp files