applied cmake into MenusCustomIterator