Added builder script with execute bit set so the .exe doesn't confuse Linux users

This commit is contained in:
Magnus Norddahl 2020-09-20 11:41:28 +02:00
parent c98ed6575b
commit 1ef6391bbb
3 changed files with 5 additions and 0 deletions

1
.gitignore vendored
View file

@ -31,3 +31,4 @@ bin
/Build/libBuilderNative.so
/Build/OpenGLDebug.log
/Source/Native/*.log
/Build/builder

View file

@ -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

2
builder.sh Normal file
View file

@ -0,0 +1,2 @@
#!/bin/bash
mono Builder.exe