55 lines
1.5 KiB
Bash
Executable file
55 lines
1.5 KiB
Bash
Executable file
#!/bin/bash
|
|
|
|
#
|
|
# Ham'n'Cheese
|
|
# Copyright (C) 2023-2024 Scott Duensing <scott@kangaroopunch.com>
|
|
#
|
|
# This program is free software; you can redistribute it and/or
|
|
# modify it under the terms of the GNU General Public License
|
|
# as published by the Free Software Foundation; either version 3
|
|
# of the License, or (at your option) any later version.
|
|
#
|
|
# This program is distributed in the hope that it will be useful,
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
# GNU General Public License for more details.
|
|
#
|
|
# You should have received a copy of the GNU General Public License
|
|
# along with this program; if not, see <http://www.gnu.org/licenses/>
|
|
#
|
|
|
|
|
|
# Linux Support
|
|
apt-get -y install \
|
|
autotools \
|
|
build-essential \
|
|
gcc-multilib \
|
|
g++-multilib \
|
|
scons \
|
|
pkg-config \
|
|
xxd \
|
|
upx-ucl \
|
|
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
|