summaryrefslogtreecommitdiff
path: root/2026/submissions/threecoff/clennis/scripts/build-native.sh
blob: 8a0b297dc25ecfc057c15cbdf13c1298ea47820b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/usr/bin/env bash
# Configure + build the native desktop binary at ./build-native/tennis
set -euo pipefail

ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
cd "$ROOT"

cmake -B build-native -DCMAKE_BUILD_TYPE=Debug
cmake --build build-native -j"$(nproc)"

echo
echo ">> Built build-native/tennis  —  run it with:  ./build-native/tennis"