Hi Ivan,
well, I havent solved it. Fortunately, there are only seldom changes in the proto files so when I do one, I make a manual copy of generated files.
Also I tried to add some commands to cmake file to copy them but nothing worked well for me. As it is not so often needed, I left it for manual copy.
Are you trying to solve the same / similar problem?
Best regards,
peter