File tree Expand file tree Collapse file tree 7 files changed +18
-6
lines changed Expand file tree Collapse file tree 7 files changed +18
-6
lines changed Original file line number Diff line number Diff line change @@ -48,7 +48,8 @@ if [ "${MONO}" == "1" ]; then
48
48
echo " Starting Mono build for Android..."
49
49
50
50
cp /root/mono-glue/* .cpp modules/mono/glue/
51
- cp -r /root/mono-glue/Managed/Generated modules/mono/glue/Managed/
51
+ cp -r /root/mono-glue/GodotSharp/GodotSharp/Generated modules/mono/glue/GodotSharp/GodotSharp/
52
+ cp -r /root/mono-glue/GodotSharp/GodotSharpEditor/Generated modules/mono/glue/GodotSharp/GodotSharpEditor/
52
53
53
54
$SCONS platform=android android_arch=armv7 $OPTIONS $OPTIONS_MONO mono_prefix=/root/mono-installs/android-armeabi-v7a-release tools=no target=release_debug
54
55
$SCONS platform=android android_arch=armv7 $OPTIONS $OPTIONS_MONO mono_prefix=/root/mono-installs/android-armeabi-v7a-release tools=no target=release
Original file line number Diff line number Diff line change @@ -34,7 +34,8 @@ if [ "${MONO}" == "1" ]; then
34
34
echo " Starting Mono build for JavaScript..."
35
35
36
36
cp /root/mono-glue/* .cpp modules/mono/glue/
37
- cp -r /root/mono-glue/Managed/Generated modules/mono/glue/Managed/
37
+ cp -r /root/mono-glue/GodotSharp/GodotSharp/Generated modules/mono/glue/GodotSharp/GodotSharp/
38
+ cp -r /root/mono-glue/GodotSharp/GodotSharpEditor/Generated modules/mono/glue/GodotSharp/GodotSharpEditor/
38
39
39
40
$SCONS platform=javascript ${OPTIONS} ${OPTIONS_MONO} target=release_debug tools=no
40
41
$SCONS platform=javascript ${OPTIONS} ${OPTIONS_MONO} target=release tools=no
Original file line number Diff line number Diff line change @@ -40,7 +40,8 @@ if [ "${MONO}" == "1" ]; then
40
40
echo " Starting Mono build for Linux..."
41
41
42
42
cp /root/mono-glue/* .cpp modules/mono/glue/
43
- cp -r /root/mono-glue/Managed/Generated modules/mono/glue/Managed/
43
+ cp -r /root/mono-glue/GodotSharp/GodotSharp/Generated modules/mono/glue/GodotSharp/GodotSharp/
44
+ cp -r /root/mono-glue/GodotSharp/GodotSharpEditor/Generated modules/mono/glue/GodotSharp/GodotSharpEditor/
44
45
export PKG_CONFIG_PATH=$PKG_CONFIG_PATH :/usr/lib/pkgconfig/
45
46
46
47
$SCONS platform=x11 CC=$CC CXX=$CXX $OPTIONS $OPTIONS_MONO tools=yes target=release_debug copy_mono_root=yes
Original file line number Diff line number Diff line change @@ -40,7 +40,8 @@ if [ "${MONO}" == "1" ]; then
40
40
echo " Starting Mono build for macOS..."
41
41
42
42
cp /root/mono-glue/* .cpp modules/mono/glue/
43
- cp -r /root/mono-glue/Managed/Generated modules/mono/glue/Managed/
43
+ cp -r /root/mono-glue/GodotSharp/GodotSharp/Generated modules/mono/glue/GodotSharp/GodotSharp/
44
+ cp -r /root/mono-glue/GodotSharp/GodotSharpEditor/Generated modules/mono/glue/GodotSharp/GodotSharpEditor/
44
45
45
46
$SCONS platform=osx $OPTIONS $OPTIONS_MONO tools=yes target=release_debug copy_mono_root=yes
46
47
Original file line number Diff line number Diff line change @@ -263,6 +263,9 @@ if [ "${build_mono}" == "1" ]; then
263
263
cp out/linux/x86/templates-mono/godot.x11.opt.debug.32.mono ${templatesdir_mono} /linux_x11_32_debug
264
264
cp out/linux/x86/templates-mono/godot.x11.opt.32.mono ${templatesdir_mono} /linux_x11_32_release
265
265
266
+ mkdir -p ${templatesdir_mono} /bcl
267
+ cp -r out/linux/x64/tools-mono/GodotSharp/Mono/lib/mono/4.5/ ${templatesdir_mono} /bcl/net_4_x
268
+
266
269
# # Windows (Mono) ##
267
270
268
271
# Editor
@@ -299,6 +302,9 @@ if [ "${build_mono}" == "1" ]; then
299
302
sign ${templatesdir_mono} /windows_32_debug.exe
300
303
sign ${templatesdir_mono} /windows_32_release.exe
301
304
305
+ mkdir -p ${templatesdir_mono} /bcl
306
+ cp -r out/windows/x64/tools-mono/GodotSharp/Mono/lib/mono/4.5/ ${templatesdir_mono} /bcl/net_4_x_win
307
+
302
308
# # OSX (Mono) ##
303
309
304
310
# Editor
Original file line number Diff line number Diff line change @@ -40,7 +40,8 @@ if [ "${MONO}" == "1" ]; then
40
40
echo " Starting Mono build for Server..."
41
41
42
42
cp /root/mono-glue/* .cpp modules/mono/glue/
43
- cp -r /root/mono-glue/Managed/Generated modules/mono/glue/Managed/
43
+ cp -r /root/mono-glue/GodotSharp/GodotSharp/Generated modules/mono/glue/GodotSharp/GodotSharp/
44
+ cp -r /root/mono-glue/GodotSharp/GodotSharpEditor/Generated modules/mono/glue/GodotSharp/GodotSharpEditor/
44
45
45
46
$SCONS platform=server CC=$CC CXX=$CXX $OPTIONS $OPTIONS_MONO tools=yes target=release_debug copy_mono_root=yes
46
47
mkdir -p /root/out/tools-mono
Original file line number Diff line number Diff line change @@ -51,7 +51,8 @@ if [ "${MONO}" == "1" ]; then
51
51
echo " Starting Mono build for Windows..."
52
52
53
53
cp /root/mono-glue/* .cpp modules/mono/glue/
54
- cp -r /root/mono-glue/Managed/Generated modules/mono/glue/Managed/
54
+ cp -r /root/mono-glue/GodotSharp/GodotSharp/Generated modules/mono/glue/GodotSharp/GodotSharp/
55
+ cp -r /root/mono-glue/GodotSharp/GodotSharpEditor/Generated modules/mono/glue/GodotSharp/GodotSharpEditor/
55
56
56
57
$SCONS platform=windows bits=64 $OPTIONS $OPTIONS_MONO mono_prefix=$MONO64_PREFIX tools=yes target=release_debug copy_mono_root=yes
57
58
mkdir -p /root/out/x64/tools-mono
You can’t perform that action at this time.
0 commit comments