From 21f14a2b678b919ce3b05b8ed6e29fa6abad899d Mon Sep 17 00:00:00 2001
From: Florent Berthaut <florent.berthaut@univ-lille.fr>
Date: Wed, 20 Jul 2022 14:40:28 +0200
Subject: [PATCH] Add to readme and refine update.sh

---
 README.md | 31 ++++++++++++++++++++++++++++++-
 update.sh |  5 +++--
 2 files changed, 33 insertions(+), 3 deletions(-)

diff --git a/README.md b/README.md
index cb6550d..09b6664 100644
--- a/README.md
+++ b/README.md
@@ -1,3 +1,32 @@
 # gdpd
 
-Godot add-on for loading and processing Pure Data patches 
\ No newline at end of file
+Godot add-on for loading and processing Pure Data patches 
+
+
+# Compiling
+
+## Compiling on GNU/Linux
+
+- Open a terminal
+- Type the following commandes :
+	- git clone https://gitlab.univ-lille.fr/ivmi/gdpd.git
+	- cd gdpd
+	- ./update.sh linux
+
+## Compiling on Windows
+
+- Open the Windows Powershell
+- Type the following commandes :
+	- git clone https://gitlab.univ-lille.fr/ivmi/gdpd.git
+	- cd gdpd
+	- ./update.sh windows
+
+
+## Compiling on Mac OSX
+
+
+## Compiling for Android (/ Oculus Quest)
+
+
+## Compiling for the Web
+
diff --git a/update.sh b/update.sh
index 20dc781..bc48838 100755
--- a/update.sh
+++ b/update.sh
@@ -1,6 +1,7 @@
 #!/bin/bash
+git config --global url."https://".insteadOf git://
 git submodule update --init --recursive
 cd src/godot-cpp
-scons platform=$1 generate_bindings=yes
+scons platform=$1 generate_bindings=yes target=release
 cd ../..
-scons platform=$1
+scons platform=$1 target=release
-- 
GitLab