Add new utility setup scripts

This commit is contained in:
Dan Paulat 2025-05-25 13:45:00 -05:00
parent 9c486d5018
commit 102650e936
26 changed files with 281 additions and 143 deletions

27
tools/lib/setup-common.sh Normal file
View 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