mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2024-12-25 05:07:12 +01:00
40 lines
2.2 KiB
Bash
40 lines
2.2 KiB
Bash
|
#!/bin/bash
|
||
|
set -e
|
||
|
|
||
|
# pkg-config wrongly points to lib instead of lib64 for arch-dependent header.
|
||
|
sed -i ${GODOT_SDK_LINUX_X86_64}/x86_64-godot-linux-gnu/sysroot/usr/lib/pkgconfig/dbus-1.pc -e "s@/lib@/lib64@g"
|
||
|
|
||
|
export PATH="${GODOT_SDK_LINUX_X86_64}/bin:${BASE_PATH}"
|
||
|
|
||
|
# Linux editor 64 bit
|
||
|
scons tools=yes target=release_debug custom_modules_shared=no debug_symbols=no platform=x11 bits=64 "$@" . 2>&1 | tee logs/linux_ed_64.log
|
||
|
|
||
|
# Linux templates 64 bit
|
||
|
scons tools=no target=release_debug custom_modules_shared=no debug_symbols=no platform=x11 bits=64 "$@" . 2>&1 | tee logs/linux_template_rd_64.log
|
||
|
scons tools=no target=release custom_modules_shared=no debug_symbols=no platform=x11 bits=64 "$@" . 2>&1 | tee logs/linux_template_r_64.log
|
||
|
|
||
|
# Linux headless (editor) 64bit
|
||
|
scons tools=yes target=release_debug custom_modules_shared=no debug_symbols=no platform=server bits=64 "$@" . 2>&1 | tee logs/headless.log
|
||
|
|
||
|
# Linux server (templates) 64bit
|
||
|
scons tools=no target=release_debug custom_modules_shared=no debug_symbols=no platform=server bits=64 "$@" . 2>&1 | tee logs/server_rd.log
|
||
|
scons tools=no target=release custom_modules_shared=no debug_symbols=no platform=server bits=64 "$@" . 2>&1 | tee logs/server_d.log
|
||
|
|
||
|
export PATH="${GODOT_SDK_LINUX_X86}/bin:${BASE_PATH}"
|
||
|
|
||
|
# Linux editor 32 bit
|
||
|
scons tools=yes target=release_debug custom_modules_shared=no debug_symbols=no platform=x11 bits=32 "$@" . 2>&1 | tee logs/linux_ed_32.log
|
||
|
|
||
|
# Linux templates 32 bit
|
||
|
scons tools=no target=release_debug custom_modules_shared=no debug_symbols=no platform=x11 bits=32 "$@" . 2>&1 | tee logs/linux_template_rd_32.log
|
||
|
scons tools=no target=release custom_modules_shared=no debug_symbols=no platform=x11 bits=32 "$@" . 2>&1 | tee logs/linux_template_r_32.log
|
||
|
|
||
|
export PATH="${GODOT_SDK_LINUX_ARMHF}/bin:${BASE_PATH}"
|
||
|
|
||
|
# Linux editor armhf
|
||
|
scons tools=yes target=release_debug custom_modules_shared=no debug_symbols=no platform=x11 arch=armhf "$@" . 2>&1 | tee logs/linux_ed_32.log
|
||
|
|
||
|
# Linux templates armhf
|
||
|
scons tools=no target=release_debug custom_modules_shared=no debug_symbols=no platform=x11 arch=armhf "$@" . 2>&1 | tee logs/linux_template_rd_32.log
|
||
|
scons tools=no target=release custom_modules_shared=no debug_symbols=no platform=x11 arch=armhf "$@" . 2>&1 | tee logs/linux_template_r_32.log
|