Commit Graph

310 Commits

Author SHA1 Message Date
lewa_j
7bb630db2a wscript: -Werror=implicit-function-declaration analog for msvc 2025-10-12 00:21:00 +08:00
Alibek Omarov
0e22e8aa76 wscript: disable declaration-after-statement, we don't need it anymore 2025-10-11 20:58:48 +05:00
Alibek Omarov
3d0533ad84 wscript: fix a typo in -Wuninitialized (thanks @lewa_j) 2025-10-02 18:03:20 +05:00
Alibek Omarov
cee1e74872 engine: drop dllemu glue, as it won't build with current engine anyway and not supported by it's author :( 2025-09-29 00:01:59 +05:00
Alibek Omarov
f9ec8f0b85 wscript: disable {gcc,msvc}deps with wafcache enabled 2025-08-05 19:03:53 +05:00
Bohdan Shulyar
ca6de641a1 android: experimental ninja build 2025-08-03 19:01:56 +05:00
Alibek Omarov
613768c3f9 wscript: add experimental option to enable wafcache [skip ci] 2025-07-30 21:07:45 +05:00
Alibek Omarov
45dd15b064 wscript: remove unused --enable-emscripten 2025-06-19 15:48:50 +05:00
yohimik
2234f91c38 ref: gl: add stubs for WebGL 2025-06-15 13:01:13 +05:00
Alibek Omarov
eb84efd260 wscript: set Emscripten defaults 2025-06-15 12:51:57 +05:00
Alibek Omarov
1bf5909023 wscript: don't forget to recurse into ref/gl with only gles3compat enabled 2025-06-15 09:13:39 +05:00
Alibek Omarov
026435865a wscript: cleanup defaults, now that we don't need to specify most options from here 2025-05-27 21:54:22 +03:00
Alibek Omarov
216e680965 wscript: detect threading ability by platform
On client, it's handled by SDL{2,3}. On server we rely on pthreads (and some platforms don't have pthreads).
2025-05-27 21:40:07 +03:00
Alibek Omarov
3fe77ec86c wscript: remove msdev.py generator (Visual Studio project still can be generated using msvs.py) 2025-05-27 20:59:47 +03:00
Alibek Omarov
a88fea6ab3 wscript: remove cmake.py generator 2025-05-27 20:57:47 +03:00
Alibek Omarov
78ef00a269 wscript: remove hacky logic determening valid target when crosscompiling to 32-bit x86 2025-05-27 20:50:08 +03:00
Alibek Omarov
61d8d5e12b wscript: detect if we're compiling from Termux 2025-04-24 21:39:46 +03:00
Alibek Omarov
296e642f09 wscript: look for libm when compiling for Android on Android device itself (e.g. Termux) 2025-04-24 20:52:55 +03:00
Alibek Omarov
882b573e70 wscript: build maintui alongside mainui_cpp, so both could be used and shipped 2025-04-10 19:21:09 +03:00
Denis Drakhnia
a85bd0c864 maintui: first blood 2025-04-01 14:46:27 +03:00
Alibek Omarov
ac5be8156b Revert "wscript: force -Wuninitialized to error"
This reverts commit e615ff0e7f.
2025-03-25 19:10:13 +03:00
Alibek Omarov
e615ff0e7f wscript: force -Wuninitialized to error 2025-03-25 17:11:51 +03:00
Alibek Omarov
a34edbd8e8 wscript: ok, let's disable format-nonliteral for now 2025-03-15 20:01:47 +03:00
Alibek Omarov
92de3ebc58 wscript: disable format-nonliteral for Clang, it's buggy there 2025-03-15 14:20:11 +03:00
Alibek Omarov
1e8e4825fa engine: fix remaining -Wformat=2 and force it to -Werror 2025-03-15 01:24:59 +03:00
Alibek Omarov
a060d7aefd wscript: disable large file for 32-bit Android 2025-02-23 16:07:51 +03:00
Alibek Omarov
2d8f747e84 wscript: disable using system-wide libbacktrace, as it might not support features we need 2025-02-13 19:21:07 +03:00
Alibek Omarov
72f1ac3780 wscript: ensure system-wide libbacktrace supports threads 2025-02-09 18:29:02 +03:00
Alibek Omarov
d7dc3192de 3rdparty: libbacktrace: fix applying uselib 2025-02-09 18:25:40 +03:00
Alibek Omarov
a72d921c12 wscript: add system-wide libbacktrace detection 2025-02-09 17:41:01 +03:00
Alibek Omarov
99b7d71824 wscript: set DEST_SIZEOF_VOID_P with allow 64bit flag 2025-02-09 17:16:17 +03:00
Alibek Omarov
774d2ac28a engine: platform: posix: add libbacktrace support for crash handler 2025-02-09 15:42:28 +03:00
Alibek Omarov
bd3634c815 wscript: add sanity test for opusfile because some distros don't ship 32-bit binary 2025-02-09 15:34:30 +03:00
Alibek Omarov
5378494199 wscript: enable main() function for Android port, which was forgotten after last refactoring 2025-02-01 18:26:20 +03:00
Alibek Omarov
83b488c37e wscript: let building client and dedicated server in the same configuration 2025-01-30 20:23:12 +03:00
Alibek Omarov
a7b776f3b9 Revert "wscript: disable /showIncludes based msvcdeps for now, it causes issues with non-English locales"
Add option --enable-msvcdeps that we only enable on CI.

This reverts commit e58007aab3.
2025-01-10 21:48:43 +03:00
Alibek Omarov
e70ba7ad64 engine: now, remove SUPPORT_BSP2_FORMAT macro, only prevent ref_soft from loading such maps 2025-01-09 08:02:39 +03:00
Alibek Omarov
f9a0057c28 wscript: fix bsp2 build bruh 2025-01-08 01:22:23 +03:00
Alibek Omarov
bec526a77e utils: xar: fix xar build 2024-12-22 07:11:53 +03:00
Alibek Omarov
51fa7d2611 wscript: strip lib prefix from new opus and vorbis targets, don't link them in dedicated 2024-12-02 21:59:11 +03:00
Alibek Omarov
7eba5a994d wscript: specifically look for opus 1.4, as 1.5 have broken custom modes
Link to GitHub issue: https://github.com/xiph/opus/issues/374
2024-12-02 21:05:08 +03:00
Alibek Omarov
c39d2e243a wscript: look for system provided vorbis and opus dependencies
In some configuration, like Flatpak, on dev machines or when packaging for *nix
we can safely link with system libraries.
2024-12-02 21:04:28 +03:00
SNMetamorph
485d4324f8 3rdparty: libvorbis & libvorbisfile combined into one wscript 2024-12-02 20:36:33 +03:00
SNMetamorph
73cf55b958 wscript: link sound format related libraries in XASH_DEDICATED build mode 2024-12-02 20:36:33 +03:00
SNMetamorph
8e5d0a6425 3rdparty: opusfile: added wscript for libopusfile 2024-12-02 20:36:33 +03:00
SNMetamorph
914be8dbd7 3rdparty: vorbis: added wscript for libvorbisfile 2024-12-02 20:36:33 +03:00
SNMetamorph
9e67a90b25 3rdparty: vorbis: added wscript for libvorbis 2024-12-02 20:36:33 +03:00
SNMetamorph
3c6c90c1e7 3rdparty: libogg: added wscript for libogg 2024-12-02 20:36:33 +03:00
Alibek Omarov
0154ffa060 wscript: try to automatically set console subsystem flag depending on target features
Remove subsystem flag from shlibs and stlibs, it's only required for executables.
2024-11-27 15:43:13 +03:00
Alibek Omarov
cb3f5a74a8 wscript: don't check for cmake twice 2024-11-27 15:08:42 +03:00