mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 08:20:05 +00:00
Add new utility setup scripts
This commit is contained in:
parent
9c486d5018
commit
102650e936
26 changed files with 281 additions and 143 deletions
27
tools/lib/setup-common.sh
Normal file
27
tools/lib/setup-common.sh
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
#!/bin/bash
|
||||
script_dir="$(dirname "$(readlink -f "$0")")"
|
||||
|
||||
# Import common paths
|
||||
source ./common-paths.sh
|
||||
|
||||
# Install Python packages
|
||||
pip install --upgrade --user ${script_dir}/../../requirements.txt
|
||||
|
||||
if [[ -n "${build_type}" ]]; then
|
||||
# Install Conan profile and packages
|
||||
./setup-conan.sh
|
||||
else
|
||||
# Install Conan profile and debug packages
|
||||
export build_type=Debug
|
||||
./setup-conan.sh
|
||||
|
||||
# Install Conan profile and release packages
|
||||
export build_type=Release
|
||||
./setup-conan.sh
|
||||
|
||||
# Unset build_type
|
||||
unset build_type
|
||||
fi
|
||||
|
||||
# Run CMake Configure
|
||||
./run-cmake-configure.sh
|
||||
Loading…
Add table
Add a link
Reference in a new issue