From 5a1ec105567f064d0220d2195dd1765f609bb499 Mon Sep 17 00:00:00 2001 From: Fu Juntang <StrongTiger_001@163.com> Date: 星期五, 03 九月 2021 17:46:19 +0800 Subject: [PATCH] Merge branch 'master' of http://os.smartai.com:9091/valib/c_bhomebus --- build.sh | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/build.sh b/build.sh index eab77c7..ea2dcde 100755 --- a/build.sh +++ b/build.sh @@ -2,6 +2,7 @@ BUILD_TYPE="Debug" BUILD_DOC="OFF" +BUILD_SHARED_LIBS="ON" function usage() { echo "build.sh [release | debug | doc]" @@ -10,10 +11,12 @@ case ${1} in "release") BUILD_TYPE="Release" + BUILD_SHARED_LIBS="ON" ;; "debug") BUILD_TYPE="Debug" + BUILD_SHARED_LIBS="ON" ;; "doc") @@ -48,7 +51,7 @@ # -DBUILD_SHARED_LIBS=ON # -DCMAKE_INSTALL_PREFIX=$(pwd/../dest) # -DQCA_MAN_INSTALL_DIR:PATH=/usr/share/man -cmake -DCMAKE_INSTALL_PREFIX="$(pwd)/../dest" -DCMAKE_BUILD_TYPE=${BUILD_TYPE} -DBUILD_SHARED_LIBS=ON \ +cmake -DCMAKE_INSTALL_PREFIX="$(pwd)/../dest" -DCMAKE_BUILD_TYPE=${BUILD_TYPE} -DBUILD_SHARED_LIBS=${BUILD_SHARED_LIBS} \ -DBUILD_DOC=${BUILD_DOC} -DSUPPORT_RDMA=OFF .. cmake --build . -- Gitblit v1.8.0