update generated cmake api