build __generated__