added Bash build script

This commit is contained in:
devZoGok
2022-07-25 10:34:51 +03:00
parent 34a03100e7
commit 8d4d98cba2
Executable
+20
View File
@@ -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