Windows templates now build.

This commit is contained in:
Scott Duensing 2023-08-26 17:35:06 -05:00
parent 2eed96183f
commit 66f8369e1a
2 changed files with 6 additions and 4 deletions

View file

@ -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

View file

@ -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: