Updating build files for new code layout.
6
.gitattributes
vendored
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.icns filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ico filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tza filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
*~
|
20
build.sh
|
@ -1,5 +1,9 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
pushd godot
|
||||||
|
|
||||||
|
ln -f -s ../custom.py .
|
||||||
|
|
||||||
COMMON="-j4"
|
COMMON="-j4"
|
||||||
TEMPLATE="${COMMON} disable_3d=yes svg=no"
|
TEMPLATE="${COMMON} disable_3d=yes svg=no"
|
||||||
|
|
||||||
|
@ -11,24 +15,24 @@ TEMPLATE="${COMMON} disable_3d=yes svg=no"
|
||||||
#scons platform=linuxbsd target=editor arch=x86_64 lto=full ${COMMON}
|
#scons platform=linuxbsd target=editor arch=x86_64 lto=full ${COMMON}
|
||||||
scons platform=linuxbsd target=editor arch=x86_64 ${COMMON}
|
scons platform=linuxbsd target=editor arch=x86_64 ${COMMON}
|
||||||
|
|
||||||
exit 0
|
popd
|
||||||
|
|
||||||
|
:<<SKIP
|
||||||
|
|
||||||
# Build all templates
|
# Build all templates
|
||||||
|
|
||||||
# Linux
|
# Linux
|
||||||
scons platform=linuxbsd target=template_release arch=x86_32 ${TEMPLATE}
|
#scons platform=linuxbsd target=template_release arch=x86_32 ${TEMPLATE}
|
||||||
scons platform=linuxbsd target=template_debug arch=x86_32 ${TEMPLATE}
|
#scons platform=linuxbsd target=template_debug arch=x86_32 ${TEMPLATE}
|
||||||
scons platform=linuxbsd target=template_release arch=x86_64 ${TEMPLATE}
|
scons platform=linuxbsd target=template_release arch=x86_64 ${TEMPLATE}
|
||||||
scons platform=linuxbsd target=template_debug arch=x86_64 ${TEMPLATE}
|
scons platform=linuxbsd target=template_debug arch=x86_64 ${TEMPLATE}
|
||||||
|
|
||||||
# Windows
|
# Windows
|
||||||
scons platform=windows target=template_debug arch=x86_32 ${TEMPLATE}
|
#scons platform=windows target=template_debug arch=x86_32 ${TEMPLATE}
|
||||||
scons platform=windows target=template_release arch=x86_32 ${TEMPLATE}
|
#scons platform=windows target=template_release arch=x86_32 ${TEMPLATE}
|
||||||
scons platform=windows target=template_debug arch=x86_64 ${TEMPLATE}
|
scons platform=windows target=template_debug arch=x86_64 ${TEMPLATE}
|
||||||
scons platform=windows target=template_release arch=x86_64 ${TEMPLATE}
|
scons platform=windows target=template_release arch=x86_64 ${TEMPLATE}
|
||||||
|
|
||||||
exit 0
|
|
||||||
|
|
||||||
# MacOS
|
# MacOS
|
||||||
scons platform=macos target=template_release osxcross_sdk=darwin15 arch=x86_64 ${TEMPLATE}
|
scons platform=macos target=template_release osxcross_sdk=darwin15 arch=x86_64 ${TEMPLATE}
|
||||||
scons platform=macos target=template_debug osxcross_sdk=darwin15 arch=x86_64 ${TEMPLATE}
|
scons platform=macos target=template_debug osxcross_sdk=darwin15 arch=x86_64 ${TEMPLATE}
|
||||||
|
@ -41,3 +45,5 @@ scons platform=macos target=template_debug osxcross_sdk=darwin15 arch=arm64 $
|
||||||
#cp bin/godot.macos.opt.universal macos_template.app/Contents/MacOS/godot_macos_release.64
|
#cp bin/godot.macos.opt.universal macos_template.app/Contents/MacOS/godot_macos_release.64
|
||||||
#cp bin/godot.macos.opt.debug.universal macos_template.app/Contents/MacOS/godot_macos_debug.64
|
#cp bin/godot.macos.opt.debug.universal macos_template.app/Contents/MacOS/godot_macos_debug.64
|
||||||
#chmod +x macos_template.app/Contents/MacOS/godot_macos*
|
#chmod +x macos_template.app/Contents/MacOS/godot_macos*
|
||||||
|
|
||||||
|
SKIP
|
||||||
|
|
|
@ -40,5 +40,5 @@ module_visual_script_enabled = "no"
|
||||||
module_vorbis_enabled = "no"
|
module_vorbis_enabled = "no"
|
||||||
module_websocket_enabled = "no"
|
module_websocket_enabled = "no"
|
||||||
module_webxr_enabled = "no"
|
module_webxr_enabled = "no"
|
||||||
custom_modules = "/home/gamer/code/godot/modules"
|
custom_modules = "../modules"
|
||||||
|
|
||||||
|
|
BIN
godot/icon.png
Before Width: | Height: | Size: 7.4 KiB After Width: | Height: | Size: 129 B |
Before Width: | Height: | Size: 9.1 KiB After Width: | Height: | Size: 129 B |
BIN
godot/logo.png
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 130 B |
Before Width: | Height: | Size: 25 KiB After Width: | Height: | Size: 130 B |
Before Width: | Height: | Size: 3.7 KiB After Width: | Height: | Size: 129 B |
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 130 B |
Before Width: | Height: | Size: 347 B After Width: | Height: | Size: 128 B |
Before Width: | Height: | Size: 395 B After Width: | Height: | Size: 128 B |
Before Width: | Height: | Size: 514 B After Width: | Height: | Size: 128 B |
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 129 B |
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 129 B |
Before Width: | Height: | Size: 466 B After Width: | Height: | Size: 128 B |
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 129 B |
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 129 B |
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 129 B |
Before Width: | Height: | Size: 421 B After Width: | Height: | Size: 128 B |
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 129 B |
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 130 B |
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 130 B |
Before Width: | Height: | Size: 9.8 KiB After Width: | Height: | Size: 130 B |
Before Width: | Height: | Size: 3.1 KiB After Width: | Height: | Size: 129 B |
Before Width: | Height: | Size: 8.7 KiB After Width: | Height: | Size: 129 B |
Before Width: | Height: | Size: 848 B After Width: | Height: | Size: 128 B |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 129 B |
Before Width: | Height: | Size: 883 B After Width: | Height: | Size: 128 B |
Before Width: | Height: | Size: 3.4 KiB After Width: | Height: | Size: 129 B |
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 130 B |
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 129 B |
Before Width: | Height: | Size: 3.7 KiB After Width: | Height: | Size: 129 B |
Before Width: | Height: | Size: 375 B After Width: | Height: | Size: 128 B |
Before Width: | Height: | Size: 2.9 KiB After Width: | Height: | Size: 129 B |
Before Width: | Height: | Size: 2.6 KiB After Width: | Height: | Size: 129 B |
Before Width: | Height: | Size: 240 B After Width: | Height: | Size: 128 B |
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 129 B |
Before Width: | Height: | Size: 5.1 KiB After Width: | Height: | Size: 129 B |
Before Width: | Height: | Size: 517 B After Width: | Height: | Size: 128 B |
Before Width: | Height: | Size: 4.4 KiB After Width: | Height: | Size: 129 B |
Before Width: | Height: | Size: 8 KiB After Width: | Height: | Size: 129 B |
Before Width: | Height: | Size: 905 B After Width: | Height: | Size: 128 B |
Before Width: | Height: | Size: 7.2 KiB After Width: | Height: | Size: 129 B |
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 130 B |
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 129 B |
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 130 B |
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 130 B |
Before Width: | Height: | Size: 240 B After Width: | Height: | Size: 128 B |
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 129 B |
Before Width: | Height: | Size: 139 KiB After Width: | Height: | Size: 131 B |
Before Width: | Height: | Size: 137 KiB After Width: | Height: | Size: 131 B |
Before Width: | Height: | Size: 29 KiB After Width: | Height: | Size: 130 B |
BIN
godot/thirdparty/oidn/weights/rtlightmap_hdr.tza
vendored
BIN
icon.png
(Stored with Git LFS)
Normal file
34
prereqs.sh
Executable file
|
@ -0,0 +1,34 @@
|
||||||
|
#!/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
|