.NET 6: Initial port of build scripts for 4.0

Not working yet but cleans up a lot of the Mono stuff we won't need anymore.
This commit is contained in:
Rémi Verschelde
2022-08-29 09:14:52 +02:00
parent 36fc7fca83
commit 23187596fb
7 changed files with 42 additions and 87 deletions

View File

@@ -19,13 +19,13 @@ tar xf ../godot.tar.gz --strip-components=1
if [ "${MONO}" == "1" ]; then
echo "Building and generating Mono glue..."
mono --version
dotnet --info
export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/lib/pkgconfig/
${SCONS} platform=linuxbsd bits=64 ${OPTIONS} target=release_debug tools=yes module_mono_enabled=yes mono_glue=no
${SCONS} platform=linuxbsd ${OPTIONS} target=release_debug tools=yes module_mono_enabled=yes
rm -rf /root/mono-glue/*
bin/godot.linuxbsd.opt.tools.64.mono --display-driver headless --audio-driver Dummy --generate-mono-glue /root/mono-glue || /bin/true
bin/godot.linuxbsd.opt.tools.x86_64.mono --headless --generate-mono-glue /root/mono-glue
fi
echo "Mono glue generated successfully"