Updated buil script
This commit is contained in:
parent
56b4a4a049
commit
8d30660f20
@ -1,9 +1,11 @@
|
|||||||
cd TeaSpeak
|
_build_helper_dir="`pwd`/build-helpers"
|
||||||
|
|
||||||
|
|
||||||
|
cd TeaSpeak || exit 1
|
||||||
if [ -d build ]; then
|
if [ -d build ]; then
|
||||||
rm -r build
|
rm -r build
|
||||||
fi
|
fi
|
||||||
_build_helper_dir="`pwd`/build-helpers"
|
mkdir build && cd build || exit 1
|
||||||
mkdir build && cd build
|
|
||||||
|
|
||||||
echo "Build type: ${TEASPEAK_BUILD_TYPE}"
|
echo "Build type: ${TEASPEAK_BUILD_TYPE}"
|
||||||
cmake .. -DCMAKE_BUILD_TYPE="${TEASPEAK_BUILD_TYPE}" -DCMAKE_CXX_FLAGS=" ${CXX_FLAGS}" -DBUILD_INCLUDE_FILE="$_build_helper_dir"/cmake/config/tearoot-server.cmake -DCMAKE_MODULE_PATH="$_build_helper_dir"/cmake/ -DDISABLE_QT=1 -DDISABLE_CUSTOM_OUTPUT=ON -DDISABLE_QT=ON $TEASPEAK_DEPLOY_TYPE_SPECIFIER
|
cmake .. -DCMAKE_BUILD_TYPE="${TEASPEAK_BUILD_TYPE}" -DCMAKE_CXX_FLAGS=" ${CXX_FLAGS}" -DBUILD_INCLUDE_FILE="$_build_helper_dir"/cmake/config/tearoot-server.cmake -DCMAKE_MODULE_PATH="$_build_helper_dir"/cmake/ -DDISABLE_QT=1 -DDISABLE_CUSTOM_OUTPUT=ON -DDISABLE_QT=ON $TEASPEAK_DEPLOY_TYPE_SPECIFIER
|
||||||
|
Loading…
Reference in New Issue
Block a user