From e6145e43d82bad6aa9e517e3a630b8618bc33659 Mon Sep 17 00:00:00 2001 From: WolverinDEV Date: Tue, 11 Sep 2018 23:33:22 +0200 Subject: [PATCH] Updates --- build_teaspeak.sh | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/build_teaspeak.sh b/build_teaspeak.sh index 7ff5d1f..52fa604 100755 --- a/build_teaspeak.sh +++ b/build_teaspeak.sh @@ -5,9 +5,27 @@ fi mkdir build && cd build cmake .. -DCMAKE_BUILD_TYPE="Debug" -DCMAKE_CXX_FLAGS="-I/usr/local/mysql/connector-c++-8.0/include/jdbc/ -I../../../libraries/boringssl/include/ -D_GLIBCXX_USE_CXX11_ABI=1" -DDISABLE_CUSTOM_OUTPUT=ON -DDISABLE_QT=ON +if [ $? -ne 0 ]; then + echo "Failed to run CMAKE project" + exit 1 +fi + 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 + echo "Failed to build YT" + exit 1 +fi + cmake --build `pwd` --target TeaSpeakServer -- -j 12 +if [ $? -ne 0 ]; then + echo "Failed to build server" + exit 1 +fi ${CXX_FLAGS} ${C_FLAGS}