This commit is contained in:
WolverinDEV 2018-09-11 23:33:22 +02:00
parent a48fa86213
commit e6145e43d8

View File

@ -5,9 +5,27 @@ fi
mkdir build && cd build 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 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 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 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 cmake --build `pwd` --target TeaSpeakServer -- -j 12
if [ $? -ne 0 ]; then
echo "Failed to build server"
exit 1
fi
${CXX_FLAGS} ${CXX_FLAGS}
${C_FLAGS} ${C_FLAGS}