From 4ca550bb99ab1302215e01a18f691b0583a9b04b Mon Sep 17 00:00:00 2001 From: Andrea Cavalli Date: Sat, 5 Sep 2020 15:39:34 +0200 Subject: [PATCH] Update build.sh --- travis/build.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/travis/build.sh b/travis/build.sh index 007a2d5..64523cb 100755 --- a/travis/build.sh +++ b/travis/build.sh @@ -46,11 +46,11 @@ fi cd $TDNATIVES_CPP_BUILD_DIR if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo -DTD_BIN_DIR=${TD_BIN_DIR} -DTDNATIVES_BIN_DIR=${TDNATIVES_BIN_DIR} -DTDNATIVES_DOCS_BIN_DIR=${TDNATIVES_DOCS_BIN_DIR} -DTd_DIR=${TD_BIN_DIR}/lib/cmake/Td -DJAVA_SRC_DIR=${JAVA_SRC_DIR} -DTDNATIVES_CPP_SRC_DIR:PATH=$TDNATIVES_CPP_SRC_DIR $TDNATIVES_CPP_SRC_DIR - cmake --build $TDNATIVES_CPP_BUILD_DIR --target install -- -j${TRAVIS_CPU_CORES} + cmake --build $TDNATIVES_CPP_BUILD_DIR --target install --config RelWithDebInfo -- -j${TRAVIS_CPU_CORES} elif [[ "$TRAVIS_OS_NAME" == "osx" ]]; then cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo -DTD_BIN_DIR=${TD_BIN_DIR} -DTDNATIVES_BIN_DIR=${TDNATIVES_BIN_DIR} -DTDNATIVES_DOCS_BIN_DIR=${TDNATIVES_DOCS_BIN_DIR} -DTd_DIR=${TD_BIN_DIR}/lib/cmake/Td -DJAVA_SRC_DIR=${JAVA_SRC_DIR} -DTDNATIVES_CPP_SRC_DIR:PATH=$TDNATIVES_CPP_SRC_DIR $TDNATIVES_CPP_SRC_DIR - cmake --build $TDNATIVES_CPP_BUILD_DIR --target install -- -j${TRAVIS_CPU_CORES} + cmake --build $TDNATIVES_CPP_BUILD_DIR --target install --config RelWithDebInfo -- -j${TRAVIS_CPU_CORES} elif [[ "$TRAVIS_OS_NAME" == "windows" ]]; then cmake -A x64 -DCMAKE_BUILD_TYPE=RelWithDebInfo -DTD_BIN_DIR=${TD_BIN_DIR} -DTDNATIVES_BIN_DIR=${TDNATIVES_BIN_DIR} -DTDNATIVES_DOCS_BIN_DIR=${TDNATIVES_DOCS_BIN_DIR} -DTd_DIR=${TD_BIN_DIR}/lib/cmake/Td -DJAVA_SRC_DIR=${JAVA_SRC_DIR} -DTDNATIVES_CPP_SRC_DIR:PATH=$TDNATIVES_CPP_SRC_DIR -DCMAKE_TOOLCHAIN_FILE:FILEPATH=$VCPKG_DIR/scripts/buildsystems/vcpkg.cmake $TDNATIVES_CPP_SRC_DIR - cmake --build $TDNATIVES_CPP_BUILD_DIR --target install --config Release -- -m + cmake --build $TDNATIVES_CPP_BUILD_DIR --target install --config RelWithDebInfo -- -m fi