add buildCubeUsingProvidedData option for buildcubewithenginetest