api:cpp: move generated code to shared/generated/cpp