Server-Root/libraries/build.sh
2019-09-09 14:55:42 +02:00

48 lines
960 B
Bash
Executable File

#!/bin/bash
mkdir -p \
boringssl/build \
DataPipes/build \
breakpad/build \
CXXTerminal/build \
ed25519/build \
event/build \
jsoncpp/build \
mysqlconnector/build \
opus/build \
opusfile/build \
spdlog/build \
StringVariable/build \
Thread-Pool/build \
tomcrypt/build \
tommath/build \
yaml-cpp/build \
protobuf/build \
jemalloc/build
function exec_script {
echo "Executing ${1}"
./${1}
if [ $? -ne 0 ]; then
echo "Failed to execute ${1}"
exit 1
fi
}
exec_script build_boringssl.sh
exec_script build_breakpad.sh
exec_script build_cxxterminal.sh
exec_script build_datapipes.sh
exec_script build_ed25519.sh
exec_script build_event.sh
exec_script build_jsoncpp.sh
#exec_script build_mysqlconnector.sh
exec_script build_opus.sh
exec_script build_protobuf.sh
exec_script build_spdlog.sh
exec_script build_stringvariable.sh
exec_script build_threadpool.sh
exec_script build_tom.sh
exec_script build_yaml.sh
exec_script build_jemalloc.sh