Windows templates now build.
This commit is contained in:
parent
2eed96183f
commit
66f8369e1a
2 changed files with 6 additions and 4 deletions
9
build.sh
9
build.sh
|
@ -4,16 +4,17 @@ pushd godot
|
||||||
|
|
||||||
ln -f -s ../custom.py .
|
ln -f -s ../custom.py .
|
||||||
|
|
||||||
COMMON="-j4"
|
TEMPLATE="disable_3d=yes svg=no"
|
||||||
TEMPLATE="${COMMON} disable_3d=yes svg=no"
|
|
||||||
|
|
||||||
#scons platform=list
|
#scons platform=list
|
||||||
|
|
||||||
#scons --clean
|
#scons --clean
|
||||||
|
|
||||||
# Build editor
|
# Build editor
|
||||||
#scons platform=linuxbsd target=editor arch=x86_64 lto=full ${COMMON}
|
#scons platform=linuxbsd target=editor arch=x86_64 lto=full
|
||||||
scons platform=linuxbsd target=editor arch=x86_64 ${COMMON}
|
#scons platform=linuxbsd target=editor arch=x86_64
|
||||||
|
|
||||||
|
scons platform=windows target=template_release arch=x86_64 ${TEMPLATE}
|
||||||
|
|
||||||
popd
|
popd
|
||||||
|
|
||||||
|
|
|
@ -55,6 +55,7 @@ if env["platform"] == "windows":
|
||||||
"n2n/src/win32/wintap.c"
|
"n2n/src/win32/wintap.c"
|
||||||
]
|
]
|
||||||
env_n2nvpn.add_source_files(env.modules_sources, n2n_src_win)
|
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.
|
# Append CCFLAGS flags for both C and C++ code.
|
||||||
# If you need to, you can:
|
# If you need to, you can:
|
||||||
|
|
Loading…
Add table
Reference in a new issue