Updating revs

This commit is contained in:
WolverinDEV 2020-01-24 15:49:24 +01:00
parent 0a596f0280
commit 682d4d3153

View File

@ -1,4 +1,4 @@
_build_helper_dir="`pwd`/build-helpers"
_build_helper_dir="$(pwd)/build-helpers"
cd TeaSpeak || exit 1
@ -9,24 +9,24 @@ mkdir build && cd build || exit 1
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
if [ $? -ne 0 ]; then
if [[ $? -ne 0 ]]; then
echo "Failed to run CMAKE project"
exit 1
fi
cmake --build `pwd` --target ProviderFFMpeg -- -j 12
if [ $? -ne 0 ]; then
cmake --build "$(pwd)" --target ProviderFFMpeg -- -j 12
if [[ $? -ne 0 ]]; then
echo "Failed to build ffmpeg"
exit 1
fi
cmake --build `pwd` --target ProviderYT -- -j 12
if [ $? -ne 0 ]; then
cmake --build "$(pwd)" --target ProviderYT -- -j 12
if [[ $? -ne 0 ]]; then
echo "Failed to build YT"
exit 1
fi
cmake --build `pwd` --target TeaSpeakServer -- -j 12
if [ $? -ne 0 ]; then
cmake --build "$(pwd)" --target TeaSpeakServer -- -j 12
if [[ $? -ne 0 ]]; then
echo "Failed to build server"
exit 1
fi