[Build][General] Start to support CMAKE. Older config.mak mechanism will no longer supported.