#!/bin/sh
set -eu
exec /vortex/2025-12/x86_64-redhat-linux/bin/emscripten-run --env /vortex/2025-12/x86_64-redhat-linux/bin/cmake \
    -DCMAKE_TOOLCHAIN_FILE=/vortex/2025-12/wasm-multithread/lib/cmake/Qt6/qt.toolchain.cmake \
    -DQT_HOST_PATH=/vortex/2025-12/x86_64-redhat-linux \
    -DQT_HOST_PATH_CMAKE_DIR=/vortex/2025-12/x86_64-redhat-linux/lib64/cmake "$@"
