Alibek Omarov
35ff062407
wscript: restore NSwitch and PSVita specific link and compiler flags
1 year 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
1 year 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
fgsfds
25a1cb8ce7
Nintendo Switch support (again)
2 years ago
Alibek Omarov
82b6da493a
wscript: enforce GCC suspicious sizeof operations warnings as errors
2 years ago
Alibek Omarov
a5d5c1f60b
wscript: cast-align is less effective than ubsan
2 years ago
Xav101
9466461ce0
engine: preliminary support for SGI IRIX ( #1211 )
...
* Added definitions for IRIX
* Patchset to get dedicated server to compile on IRIX.
* Cleaned up debug statements in wscript
* Potential bug in IRIX implementation of isnan? For now just use the portable macro.
* Include the platform port files in the build
* Temporary execution script for setting appropriate library search paths to the right locations in the build directory. This should probably get replaced with a more permanent script at some point which lives in the same directory as the normal xash binary, or be replaced by a solution that sets the rpath during config or modifies rpath during install.
* Clean up formatting and remove unneeded debugging statements
* Added GPL copyright notice and description
* Moved to irix platform folder and edited script
* Re-introduced _inline macro
* Replace spaces with tabs
Co-authored-by: Xav101 <xaviernye@msn.com>
2 years ago
Alibek Omarov
953dd3d1a7
wscript: tidy up checks, add check for GNU strchrnul
2 years ago
Alibek Omarov
46979419ae
wscript: check Android's log library globally
2 years ago
Alibek Omarov
45de874598
wscript: always load msvc options
2 years ago
Alibek Omarov
e0216e2658
wscript: don't clean QtCreator files and reconfigure saved options
...
Cleanup imports
2 years ago
Alibek Omarov
0f2bb5720b
wscript: respect --libdir argument with packaging enabled. Fix a typo in --disable-soft description
2 years ago
dettlaff
a520d245a6
wscript: fix typo in --enable-bundled-deps configure option
2 years ago
Alibek Omarov
f141869ce3
wscript: disable building extras.pk3 for Android
2 years ago
Alibek Omarov
f571a41cf3
wscript: allow to setup engine default gamedir during configure
2 years ago
Alibek Omarov
686a966ff7
wscript: now waf builds extras archive by itself, using Python standard library's zipfile
2 years ago
Alibek Omarov
b1e2e84a11
wscript: adapt main and ref_gl wscripts to new directory layout, add flag to build all renderers at once
2 years ago
Alibek Omarov
17b091e5a9
wscript: adapt to new folder structure
2 years ago
Alibek Omarov
19c2061831
wscript: define CUSTOM_MODES and try to link with export that only exists when CUSTOM_MODES was defined in build-time
2 years ago
Alibek Omarov
4110ee0928
wscript: require Opus Custom for build
...
Apparently, not all Linux distributions enable it. Anyway, we can build codec ourselves
2 years ago
Alibek Omarov
a7d4cafe10
wscript: finally disable building opus for dedicated
2 years ago
Alibek Omarov
e6c55107c7
wscript: fix game_launch not being included
2 years ago
Alibek Omarov
238162bb79
wscript: move system opus detection to main wscript, so we can avoid including subproject
2 years ago
Alibek Omarov
1fda8753bd
wscript: rework subproject filtering, use lambdas everywhere. Deprecate --ignore-projects flag, use Waf capability to select targets instead
2 years ago
SNMetamorph
68f633e9cd
wscript: fixed opus include path
2 years ago
SNMetamorph
a520af42e8
wscript: opus subproject set as mandatory
2 years ago
Alibek Omarov
44cd03f464
wscript: refactor opus wscript files, now it builds only if system package wasn't found
2 years ago
Velaron
2b9e050f57
engine: voice support
2 years ago
Alibek Omarov
90c566dde3
wscript: enable GCC's -Wmisleading-indentation
2 years ago
Alibek Omarov
5e4fc64430
filesystem: introduce new module, based on engine filesystem.
...
The goal is to share filesystem code between engine and
utilities and provide C++ VFileSystem interface in the future
2 years ago
Alibek Omarov
854bfb8673
wscript: woops, msvcrt don't actually have stristr
2 years ago
Alibek Omarov
d52b07beac
wscript: add stristr/strcasestr presense check
2 years ago
Alibek Omarov
c69ea00e79
wscript: better _FILE_OFFSET_BITS check, as suggested by @nekonomicon
2 years ago
Alibek Omarov
acffeb1dad
wscript: enable gl4es for Android builds
2 years ago
Alibek Omarov
6dbb694fdc
wscript: define _FILE_OFFSET_BITS=64 on 32-bit systems if libc (presumably glibc) supports it
3 years ago
Alibek Omarov
5aa6bfee85
engine: first attempts on fuzzing the engine
3 years ago
Alibek Omarov
f9d0fba05f
wscript: remove duplicated branches diagnostic for good
3 years ago
Alibek Omarov
23e2f4d0cc
wscript: fix install on Android
3 years ago
Alibek Omarov
aa7bfb4819
engine: check for non-standard alloca header
3 years ago
Alibek Omarov
fc665527ae
wscript: try to fix install on windows
3 years ago
Alibek Omarov
c64b3db6b8
wscript: remove win-style-install option, introduce enable-packaging
3 years ago
Alibek Omarov
67e77ca099
wscript: move setting DOS options where they should be
3 years ago
Alibek Omarov
2939ab8ea4
wscript: allow compiling with disabled warning-as-error
3 years ago
Alibek Omarov
9287a0f5c5
wscript: add some more warnings as errors
3 years ago