From 1ef6391bbb228b4d56f30adf636448d43196ffe4 Mon Sep 17 00:00:00 2001 From: Magnus Norddahl Date: Sun, 20 Sep 2020 11:41:28 +0200 Subject: [PATCH] Added builder script with execute bit set so the .exe doesn't confuse Linux users --- .gitignore | 1 + Makefile | 2 ++ builder.sh | 2 ++ 3 files changed, 5 insertions(+) create mode 100644 builder.sh diff --git a/.gitignore b/.gitignore index 258c34e6..0a59f39a 100755 --- a/.gitignore +++ b/.gitignore @@ -31,3 +31,4 @@ bin /Build/libBuilderNative.so /Build/OpenGLDebug.log /Source/Native/*.log +/Build/builder diff --git a/Makefile b/Makefile index ddd7d643..0f3ec1f4 100644 --- a/Makefile +++ b/Makefile @@ -10,6 +10,8 @@ mac: builder nativemac builder: msbuild /nologo /verbosity:minimal -p:Configuration=Release BuilderMono.sln + cp builder.sh Build/builder + chmod +x Build/builder nativemac: g++ -std=c++14 -O2 --shared -g3 -o Build/libBuilderNative.so -fPIC -I Source/Native Source/Native/*.cpp Source/Native/OpenGL/*.cpp Source/Native/OpenGL/gl_load/*.c -ldl diff --git a/builder.sh b/builder.sh new file mode 100644 index 00000000..4f7c7aad --- /dev/null +++ b/builder.sh @@ -0,0 +1,2 @@ +#!/bin/bash +mono Builder.exe