build: trigger cpp build when generated ErrorCode files change
Merged
DO
2y ago+3+3+0123456789-1-1-0123456789
What does this PR do?
Fixes cmake so that cpp code in build/codegen re-compiles when
ErrorCode.{h,cpp,ts} files change.
How did you verify your code works?
I ran build.
Upstack from #15696