32 lines
894 B
Bash
Executable File
32 lines
894 B
Bash
Executable File
#!/bin/bash
|
|
|
|
color_green='\e[92m'
|
|
color_normal='\e[39m'
|
|
function exec_script {
|
|
name=$(echo "$1" | sed -n -E 's:^build_(.*)\.sh:\1:p')
|
|
echo -e "==================== $color_green$name$color_normal ===================="
|
|
echo -e "Building library with script $color_green${1}$color_normal"
|
|
./${1}
|
|
if [[ $? -ne 0 ]]; then
|
|
echo "Failed to build library $name. Status code: $?"
|
|
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
|