forked from godotengine/godot
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuildtime.sh
More file actions
executable file
·28 lines (24 loc) · 2.06 KB
/
buildtime.sh
File metadata and controls
executable file
·28 lines (24 loc) · 2.06 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
source ../emsdk/emsdk_env.sh
cd ..
export CUR=`pwd`
export ANDROID_SDK_ROOT=$CUR/android
export ANDROID_HOME=$CUR/android
export PATH="$PATH:$ANDROID_HOME/cmdline-tools/bin"
export JAVA_HOME=/usr/lib/jvm/java-1.17.0-openjdk-amd64
cd CE-GD
scons -j11 platform=linuxbsd target=editor arch=x86_64 production=yes use_lto=yes precision=double &&
scons -j11 platform=windows target=editor arch=x86_64 production=yes use_lto=yes precision=double &&
scons -j11 platform=android target=editor arch=arm64 production=yes use_lto=yes precision=double generate_apk=yes &&
scons -j11 platform=linuxbsd target=editor arch=x86_64 production=yes use_lto=yes precision=double module_mono_enabled=yes &&
scons -j11 platform=web target=template_debug production=yes use_lto=yes precision=double dlink_enabled=yes &&
scons -j11 platform=linuxbsd target=template_debug arch=x86_64 production=yes use_lto=yes precision=double &&
scons -j11 platform=windows target=template_debug arch=x86_64 production=yes use_lto=yes precision=double &&
scons -j11 platform=android target=template_debug arch=arm64 production=yes use_lto=yes precision=double generate_apk=yes &&
scons -j11 platform=linuxbsd target=template_debug arch=x86_64 production=yes use_lto=yes precision=double module_mono_enabled=yes &&
scons -j11 platform=web target=template_release production=yes use_lto=yes precision=double dlink_enabled=yes &&
scons -j11 platform=linuxbsd target=template_release arch=x86_64 production=yes use_lto=yes precision=double &&
scons -j11 platform=windows target=template_release arch=x86_64 production=yes use_lto=yes precision=double &&
scons -j11 platform=android target=template_release arch=arm64 production=yes use_lto=yes precision=double generate_apk=yes &&
scons -j11 platform=linuxbsd target=template_release arch=x86_64 production=yes use_lto=yes precision=double module_mono_enabled=yes
./bin/godot.linuxbsd.editor.double.x86_64.mono --headless --generate-mono-glue ./modules/mono/glue/
./modules/mono/build_scripts/build_assemblies.py --godot-output-dir ./bin --push-nupkgs-local ~/MyLocalNugetSource --precision=double