cmake build sciprts for rust