From 96bd73ae020ecca1f94698744c77498a89ad19f7 Mon Sep 17 00:00:00 2001 From: untodesu Date: Thu, 11 Sep 2025 13:10:52 +0500 Subject: Graft build scripts and buffer code from QFengine --- tools/build-unix.sh | 5 +++++ 1 file changed, 5 insertions(+) create mode 100755 tools/build-unix.sh (limited to 'tools/build-unix.sh') diff --git a/tools/build-unix.sh b/tools/build-unix.sh new file mode 100755 index 0000000..ad1edd2 --- /dev/null +++ b/tools/build-unix.sh @@ -0,0 +1,5 @@ +#!/usr/bin/sh +cd $(dirname $(dirname ${0})) || exit 1 +cmake -B build/unix/${1:-Debug} -DCMAKE_BUILD_TYPE=${1:-Debug} || exit 1 +cmake --build build/unix/${1:-Debug} --config ${1:-Debug} --parallel $(nproc) || exit 1 +exit 0 -- cgit