/bin/build.sh: enable --parallel explicitly

This commit is contained in:
veclav talica 2024-10-08 10:21:59 +03:00
parent db0adbdf6c
commit 7c1383e3a6

View File

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