From dde8642101b6e138f59f0885cf440a5016b97c27 Mon Sep 17 00:00:00 2001 From: meliurwen Date: Fri, 15 Oct 2021 19:47:59 +0200 Subject: [PATCH] Build dependencies --- build.sh | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100755 build.sh diff --git a/build.sh b/build.sh new file mode 100755 index 0000000..b9bf4f4 --- /dev/null +++ b/build.sh @@ -0,0 +1,16 @@ +#!/bin/sh + +set -e + +git clone https://github.com/k4zmu2a/SpaceCadetPinball.git + +cd SpaceCadetPinball + +echo "Installing build dependencies..." +apt-get -qq -y --no-install-recommends install g++ libsdl2-mixer-dev +echo "Build dependencies installed." + +echo "Preparing the building environment..." +cmake . +make +echo "Building environment prepared."