34 lines
755 B
Bash
Executable file
34 lines
755 B
Bash
Executable file
#!/bin/bash
|
|
|
|
#
|
|
# These only provide 64 bit targets.
|
|
#
|
|
|
|
# Linux Support
|
|
apt-get -y install \
|
|
build-essential \
|
|
scons \
|
|
pkg-config \
|
|
libx11-dev \
|
|
libxcursor-dev \
|
|
libxinerama-dev \
|
|
libgl1-mesa-dev \
|
|
libglu-dev \
|
|
libasound2-dev \
|
|
libpulse-dev \
|
|
libudev-dev \
|
|
libxi-dev \
|
|
libxrandr-dev
|
|
|
|
# Windows Support
|
|
apt-get -y install mingw-w64
|
|
|
|
# Update Windows Compiler Settings
|
|
#
|
|
#sudo update-alternatives --config x86_64-w64-mingw32-gcc
|
|
# <choose x86_64-w64-mingw32-gcc-posix from the list>
|
|
#sudo update-alternatives --config x86_64-w64-mingw32-g++
|
|
# <choose x86_64-w64-mingw32-g++-posix from the list>
|
|
|
|
# MacOS
|
|
# https://docs.godotengine.org/en/stable/contributing/development/compiling/compiling_for_macos.html#cross-compiling-for-macos-from-linux
|