./build.sh -t Release will make a release version

Former-commit-id: 7acb08bb5d8d2d64ab1b64ac73ae5373c01d6e80
This commit is contained in:
jinhai 2019-05-07 16:45:03 +08:00
parent 5897f415ad
commit 15afc4b4bb

View File

@ -26,7 +26,7 @@ usage:
exit 0
;;
?)
echo "unkonw argument"
echo "unknown argument"
exit 1
;;
esac
@ -52,3 +52,7 @@ ${CMAKE_CMD}
make clean && make -j || exit 1
if [[ ${BUILD_TYPE} != "Debug" ]]; then
strip src/vecwise_server
fi