add cmake.sh and modify .gitignore.