Add user-setup script overrides for Linux

This commit is contained in:
Dan Paulat 2025-06-06 22:11:08 -05:00
parent c36144bab3
commit c9d1e4cd08
3 changed files with 18 additions and 0 deletions

3
.gitignore vendored
View file

@ -19,3 +19,6 @@ _deps
# Python Virtual Environment
.venv/
# Specific excludes for Supercell Wx
tools/lib/user-setup.sh

View file

@ -4,6 +4,11 @@ script_dir="$(dirname "$(readlink -f "$0")")"
# Import common paths
source "${script_dir}/common-paths.sh"
# Load custom build settings
if [ -f "${script_dir}/user-setup.sh" ]; then
source "${script_dir}/user-setup.sh"
fi
# Activate Python Virtual Environment
if [ -n "${venv_path:-}" ]; then
python -m venv "${venv_path}"

View file

@ -0,0 +1,10 @@
#!/bin/bash
# Example user setup script. Copy as user-setup.sh and modify as required.
# gcc-13 is not the default gcc version
export CC=/usr/bin/gcc-13
export CXX=/usr/bin/c++-13
# Override conan profile to be gcc-13
export conan_profile=scwx-linux_gcc-13