From 8d4d98cba2dd6e1c80a38aa80d13c7b61d30c859 Mon Sep 17 00:00:00 2001 From: devZoGok Date: Mon, 25 Jul 2022 10:34:51 +0300 Subject: [PATCH] added Bash build script --- build.sh | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100755 build.sh diff --git a/build.sh b/build.sh new file mode 100755 index 0000000..6f33384 --- /dev/null +++ b/build.sh @@ -0,0 +1,20 @@ +cd external +git submodule update --init --recursive + +deps=("gameBase" "vb01" "vb01Gui") +ind=${!deps[@]} + +for i in $ind +do + cd ${deps[$i]} + git checkout develop + cd external + git submodule update --init --recursive + cd ../.. +done + +cd .. +buildDir="build" +cmake -S . -B $buildDir +cd $buildDir +make -j8