add config protocol & cmake base