From a2a9ed7a2f5a198bef2675d24781f678789cb16d Mon Sep 17 00:00:00 2001
From: Tobias Frisch <tfrisch@uni-koblenz.de>
Date: Fri, 17 Sep 2021 16:50:24 +0200
Subject: [PATCH] [#107] Added basic build script

Signed-off-by: Tobias Frisch <tfrisch@uni-koblenz.de>
---
 scripts/build.sh | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100755 scripts/build.sh

diff --git a/scripts/build.sh b/scripts/build.sh
new file mode 100755
index 00000000..fcf1324c
--- /dev/null
+++ b/scripts/build.sh
@@ -0,0 +1,19 @@
+#!/bin/sh
+
+# Navigate to the main directory of the cloned repository
+BASEDIR=$(dirname "$0")
+cd $BASEDIR
+cd ..
+
+# Setup git lfs and the submodules
+git lfs install
+git submodule init
+git submodule update
+
+# Setup build directory
+mkdir build
+cd build
+
+# Build process
+cmake ..
+make
\ No newline at end of file
-- 
GitLab