diff --git a/build.sh b/build.sh index 4c5b5d9..3832ec1 100755 --- a/build.sh +++ b/build.sh @@ -4,16 +4,17 @@ pushd godot ln -f -s ../custom.py . -COMMON="-j4" -TEMPLATE="${COMMON} disable_3d=yes svg=no" +TEMPLATE="disable_3d=yes svg=no" #scons platform=list #scons --clean # Build editor -#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 lto=full +#scons platform=linuxbsd target=editor arch=x86_64 + +scons platform=windows target=template_release arch=x86_64 ${TEMPLATE} popd diff --git a/modules/n2nvpn/SCsub b/modules/n2nvpn/SCsub index a83b9ee..acc1cbe 100644 --- a/modules/n2nvpn/SCsub +++ b/modules/n2nvpn/SCsub @@ -55,6 +55,7 @@ if env["platform"] == "windows": "n2n/src/win32/wintap.c" ] env_n2nvpn.add_source_files(env.modules_sources, n2n_src_win) + env_n2nvpn.Append(CPPPATH=["n2n/src"]) # Append CCFLAGS flags for both C and C++ code. # If you need to, you can: