2024-04-21 02:08:49 +02:00
|
|
|
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
|
|
|
|
source /root/emsdk/emsdk_env.sh
|
|
|
|
|
|
|
|
|
|
|
|
# Javascript editor
|
2024-04-21 12:07:29 +02:00
|
|
|
scons tools=yes target=release_debug custom_modules_shared=no debug_symbols=no threads_enabled=yes platform=javascript "$@"
|
2024-04-21 02:08:49 +02:00
|
|
|
|
|
|
|
# Javascript templates normal
|
2024-04-21 12:07:29 +02:00
|
|
|
scons production=yes tools=no target=release_debug custom_modules_shared=no debug_symbols=no platform=javascript "$@"
|
2024-04-21 02:08:49 +02:00
|
|
|
|
2024-04-21 12:07:29 +02:00
|
|
|
scons production=yes tools=no target=release custom_modules_shared=no debug_symbols=no platform=javascript "$@"
|
2024-04-21 02:08:49 +02:00
|
|
|
|
|
|
|
# TODO lto (production=yes) doesn't seem to work for now with thread builds
|
|
|
|
|
|
|
|
# Javascript templates threads
|
2024-04-21 12:07:29 +02:00
|
|
|
scons tools=no target=release_debug custom_modules_shared=no debug_symbols=no threads_enabled=yes platform=javascript "$@"
|
2024-04-21 02:08:49 +02:00
|
|
|
|
2024-04-21 12:07:29 +02:00
|
|
|
scons tools=no target=release custom_modules_shared=no debug_symbols=no threads_enabled=yes platform=javascript "$@"
|
2024-04-21 02:08:49 +02:00
|
|
|
|
|
|
|
# Javascript templates gdnative
|
2024-04-21 12:07:29 +02:00
|
|
|
scons tools=no target=release_debug custom_modules_shared=no debug_symbols=no gdnative_enabled=yes platform=javascript "$@"
|
2024-04-21 02:08:49 +02:00
|
|
|
|
2024-04-21 12:07:29 +02:00
|
|
|
scons tools=no target=release custom_modules_shared=no debug_symbols=no gdnative_enabled=yes platform=javascript "$@"
|
2024-04-21 02:08:49 +02:00
|
|
|
|