townengine/apps/testgame/build.sh

8 lines
165 B
Bash
Executable File

#!/bin/env sh
if [ $1 = "web" ]; then
emcmake cmake -B .build-web "${@:2}" && cmake --build .build-web
else
cmake -B .build "$@" && cmake --build .build
fi