diff --git a/cpp/build.sh b/cpp/build.sh index 6353e59e2db6c9cec313ed716e8a3409da28170d..53486a45e26199554f4b5572c1f5f626211fa372 100755 --- a/cpp/build.sh +++ b/cpp/build.sh @@ -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 +