M1 primary view: wx-rs patched+extended (Linux/GTK3 build, widget bridge), vendored wx 3.3.3 + asic-rs in thirdparty/, UI-SPEC table+KPIs+dialogs, build scripts
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
#!/bin/sh
|
||||
# Build the alkane-toolkit GUI for Linux (GTK3) against the vendored wx 3.3.3.
|
||||
# Usage: scripts/build-gui-linux.sh [wx-prefix]
|
||||
# wx-prefix defaults to ~/.cache/wx-3.3.3-linux (see docs/adr/0003 and
|
||||
# scripts/build-wx-linux.sh to produce it).
|
||||
set -e
|
||||
REPO=$(CDPATH= cd -- "$(dirname -- "$0")/.." && pwd)
|
||||
WX_PREFIX="${1:-$HOME/.cache/wx-3.3.3-linux}"
|
||||
if [ ! -x "$WX_PREFIX/bin/wx-config" ]; then
|
||||
"$REPO/scripts/build-wx-linux.sh"
|
||||
fi
|
||||
export WX_RS_WXCONFIG="$WX_PREFIX/bin/wx-config"
|
||||
cd "$REPO"
|
||||
cargo build --release -p alkane-gui --offline
|
||||
echo
|
||||
echo "binary: $REPO/target/release/alkane-toolkit (or the target dir set in ~/.cargo/config.toml)"
|
||||
Reference in New Issue
Block a user