Alibek Omarov
bfcaba54dc
wscript: move werror flags into uselib
10 months ago
Alibek Omarov
568a394a40
wscript: enable -Wunused-functions
10 months ago
Alibek Omarov
0231f5e8ac
wscript: warn about missing-prototypes by default for C
10 months ago
Alibek Omarov
443317bedf
wscript: fix RPATH under OpenBSD
10 months ago
Alibek Omarov
a247e139bf
engine: fix dedicated build
10 months ago
Alibek Omarov
e58007aab3
wscript: disable /showIncludes based msvcdeps for now, it causes issues with non-English locales
10 months ago
Alibek Omarov
ae9c1d9f18
engine: remove single-binary option. Now platforms that don't need external launcher, shall set env.DISABLE_LAUNCHER
11 months ago
Alibek Omarov
f6fecce52b
wscript: do not recurse into ref_soft when BSP2 is enabled
11 months ago
Alibek Omarov
b5d602d953
wscript: enable -Werror=alloc-size and -Walloc-zero
11 months ago
Alibek Omarov
748b06a00e
wscript: warn about unused variables
12 months ago
Henry Ford
652b1804a8
wscript: make libdl optional for systems that include it in libc
12 months ago
Henry Ford
dbdd330cf7
wscript: try to find alloca in stdlib.h on platforms without alloca.h or malloc.h
12 months ago
Alibek Omarov
c0ceab7513
wscript: enable ref_gles3compat for Android
1 year ago
Alibek Omarov
d03a64602b
wscript: change defaults for Android
1 year ago
Alibek Omarov
bd969f3594
wscript: fix system opus detection, it didn't compile due to nonnull argument
1 year ago
Alibek Omarov
29c9393da3
wscript: enable faster builds with gccdeps/msvcdeps
1 year ago
Alibek Omarov
bf6829189e
wscript: move XASH_BUILD_COMMIT definition to libpublic, as this is the only place where it's used, for faster builds
1 year ago
Alibek Omarov
e3934af7d1
wscript: always load cmakelists generation tool
1 year ago
Alibek Omarov
99a7e9ad87
wscript: enable -Werror=nonnull
1 year ago
mittorn
7e0bd86b65
ref_gl: allow enabling XASH_GLES without wrapper, add ref_gles3compat, wrap gles functions in gl2wrap when XASH_GLES enabled
1 year ago
mittorn
a9ea3976a7
ref_gl: introduce gl2_shim based on vgl_shim for future limited core/gles context support (SLOW, still needs ffp for matrix operations)
1 year ago
Alibek Omarov
c6b6938e14
wscript: fix RPATH usage on OSX (by @sofakng )
1 year ago
Alibek Omarov
3168e5ccf0
wscript: add an option to request and accept any servers
1 year ago
Alibek Omarov
e1cbf96100
wscript: make stringop-overflow non-fatal
1 year ago
Alibek Omarov
1d6f695749
wscript: disable stringop-overflow for NSW to workaround buggy toolchain
1 year ago
Alibek Omarov
e7f5cb6910
wscript: add stringop-overflow to our Werror list
1 year ago
Alibek Omarov
8905883225
utils: xar: add new utility called Xar that helps interacting with Xash3D FWGS archives using filesystem_stdio C API
...
The utility is not yet finalized, disable from wscript for now
1 year ago
Alibek Omarov
5f625bb6e1
wscript: remove option --enable-stdin-input, it's enabled by default in dedicated mode sys_con now
1 year ago
Alibek Omarov
b29b3d5859
wscript: clarify that higher versions of opus also accepted in a comment
1 year ago
Alibek Omarov
3533b0d284
wscript: check for opus 1.4, which fixes an assertion in custom modes decoder initialize
1 year ago
Alibek Omarov
febdfacbd3
wscript: merge CMakeLists generating tool from Velaron's tree
1 year ago
Alibek Omarov
85cc942a3c
wscript: fix Sailfish misdetection
1 year ago
Alibek Omarov
13f8a02cdf
wscript: better Sailfish/AuroraOS macros
1 year ago
Alibek Omarov
8caa2d142f
scripts: sailfish: initial SailfishOS support
1 year ago
Alibek Omarov
2378331e47
wscript: enable -Werror=unsequenced, Clang's analogue of -Werror=sequence-point
2 years ago
Alibek Omarov
c61c84ad4f
Revert "wscript: check malloc.h first to make checks on Windows slightly faster"
...
This reverts commit 1464e1e2be
.
2 years ago
Alibek Omarov
71c9fd2772
wscript: do not check for --prefix without --enable-packaging, as it's still valid to use
2 years ago
Alibek Omarov
1464e1e2be
wscript: check malloc.h first to make checks on Windows slightly faster
2 years ago
Alibek Omarov
cf557d191a
wscript: make prefix vs destdir installing more safe and predictable
2 years ago
Alibek Omarov
6cb3b2f01a
wscript: print modules help before engine common options
2 years ago
Alibek Omarov
d86ab19351
wscript: refactoring, replace --enable-fs-tests with --enable-tests
...
* Run filesystem tests in sequential order, to avoid tests being run
before filesystem_stdio DLL is linked
* Include new interface test in filesystem
2 years ago
Alibek Omarov
35ff062407
wscript: restore NSwitch and PSVita specific link and compiler flags
2 years ago
Alibek Omarov
762e4da7a0
wscript: generic refactoring
...
* Add RefDll class to aid in enabling renderers, creating help options, etc
* Fix optimization flags and werrors are being added twice
* Rewrite if not win32: if elif elif into a set of elifs
* Remove mandatory=True in checks, as it's a default option
2 years ago
Alibek Omarov
774ced312f
wscript: enforce -Werror=strict-aliasing
2 years ago
fgsfds
957154f097
scripts: psvita: move TITLEID and APPNAME to engine elf build arguments
2 years ago
fgsfds
2bacc91922
ref: gl: move vgl_shim to ref/gl
2 years ago
fgsfds
5a3e3b3977
ref: gl: add immediate mode shim for psvita
2 years ago
fgsfds
7424b29e56
engine: initial psvita build support
2 years ago
fgsfds
69607d7890
nswitch: do not link libstdc++ into dynamic libraries
...
instead only link it to the main executable with --whole-archive, letting the dynamic libs import anything they want from it
2 years ago
Alibek Omarov
3fca567b81
wscript: few more warnings-as-errors
2 years ago