From 5dd6a035722206e1650721c58dca9a404ef89ece Mon Sep 17 00:00:00 2001 From: Scott Duensing Date: Sat, 26 Aug 2023 19:51:18 -0500 Subject: [PATCH] Added easier to use dialog boxes. --- build.sh | 39 +++++++++++++++++----------- hamncheese/global.gd | 54 +++++++++++++++++++++++++++++++++++++++ hamncheese/main.gd | 45 ++++++++++---------------------- hamncheese/main.tscn | 12 --------- hamncheese/project.godot | 4 +++ modules/n2nvpn/n2nvpn.cpp | 38 ++++++++++++++++++++++++++- modules/n2nvpn/n2nvpn.h | 6 ++++- 7 files changed, 138 insertions(+), 60 deletions(-) create mode 100644 hamncheese/global.gd diff --git a/build.sh b/build.sh index 3832ec1..d7d35df 100755 --- a/build.sh +++ b/build.sh @@ -1,36 +1,45 @@ #!/bin/bash +# Eventially provide a build_profile file to reduce file size. +TEMPLATE="disable_3d=yes svg=no" +LTO="lto=none" # Use "lto=full" for releases. + pushd godot +# Use Our Custom Settings. ln -f -s ../custom.py . -TEMPLATE="disable_3d=yes svg=no" +# Clean Prior Builds. +scons --clean -#scons platform=list +# Build Editor. +scons platform=linuxbsd target=editor arch=x86_64 ${LTO} -#scons --clean +# Create JSON for IDE support. +if [[ ! -f compile_commands.json ]]; then + scons compiledb=yes +fi -# Build editor -#scons platform=linuxbsd target=editor arch=x86_64 lto=full -#scons platform=linuxbsd target=editor arch=x86_64 - -scons platform=windows target=template_release arch=x86_64 ${TEMPLATE} +# Build Templates. +scons platform=linuxbsd target=template_release arch=x86_64 ${TEMPLATE} ${LTO} +scons platform=windows target=template_release arch=x86_64 ${TEMPLATE} ${LTO} popd -:<