update misc/cmake-generator/cmake-config to support build-*.conf
delete unnecessary ret value check in cmake-config