mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 04:00:04 +00:00
Update setup script naming convention
This commit is contained in:
parent
b89938b48a
commit
76c6ac2ccd
14 changed files with 91 additions and 1 deletions
16
tools/setup-linux-ninja-debug.sh
Executable file
16
tools/setup-linux-ninja-debug.sh
Executable file
|
|
@ -0,0 +1,16 @@
|
|||
#!/bin/bash
|
||||
script_dir="$(dirname "$(readlink -f "$0")")"
|
||||
|
||||
export build_dir="$(readlink -f "${1:-${script_dir}/../build-debug}")"
|
||||
export build_type=Debug
|
||||
export conan_profile=${2:-scwx-linux_gcc-11}
|
||||
export generator=Ninja
|
||||
export qt_base=/opt/Qt
|
||||
export qt_arch=gcc_64
|
||||
export address_sanitizer=${4:-disabled}
|
||||
|
||||
# Assign user-specified Python Virtual Environment
|
||||
[ "${3:-}" = "none" ] && unset venv_path || export venv_path="$(readlink -f "${3:-${script_dir}/../.venv}")"
|
||||
|
||||
# Perform common setup
|
||||
"${script_dir}/lib/setup-common.sh"
|
||||
Loading…
Add table
Add a link
Reference in a new issue