Alibek Omarov
009855c193
scripts: waifulib: clang_format: don't abort configure when clang-format is too old, just disable the format command
2026-07-19 07:37:01 +05:00
Alibek Omarov
9f2b8954e9
utils: add new tool xash-clang-format, a wrapper around clang-format that adds our formatting extensions
2026-07-01 22:53:52 +05:00
Alibek Omarov
568b7abc5f
scripts: waifulib: xcompile: set max-page-size to 64k on PSVita to workaround latest toolchain issue
2026-05-07 12:07:25 +05:00
Alibek Omarov
1b7f50d3c6
scripts: waifulib: xcompile: fix build error with newer NDKs caused by incompatibility of legacy STL and Clang
2026-05-07 12:05:26 +05:00
Alibek Omarov
5606346cc1
scripts: waifulib: xcompile: add Android NDK 30
2026-04-04 17:34:31 +05:00
Alibek Omarov
4679359688
android: update gradle, agp, etc
2026-03-24 03:46:58 +05:00
Alibek Omarov
d9221c8491
scripts: waifulib: remove outdated stuff
2026-02-08 10:14:28 +05:00
Alibek Omarov
8bb6968ab8
scripts: waifulib: sdl2: add paths support for SDL mingw dev package
2026-01-24 07:32:02 +05:00
ksagameng2
a9bf700da4
Restore iOS build support ( #2352 )
...
* initial commit
* initial commit
* add port files
* ios: Changes to allow creating app bundle without xcode projects
* ios: Added mic perms request
* ios: Very basic app bundle creation script
* ios: Fix -log parameter
* ios: Sdk no longer hardcoded and option to compile for simulator
* general: Update gitignore
* ios: Enable game mode for the app
* ios: Compile instructions and updated ipa creation script
* ios: Code cleanup
* ios: Remove dylibs
* general: Remove extra submodules
* ios: Remove dylibs again
* ios: Implement suggested changes
* ios: Fix building as dylib instead of binary
* ios: Scripts for building mods
* ios: Move 'ios' contents to engine/platform/ios/bundle and modify scripts
* ios: Update createipa.sh to use waf install
* ios: Clean script and updated README
* general: Fix spelling mistake and outdated instructions
* ios: Clean up in xcompile.py
* ios: Fix createipa.sh generating an invalid ipa
* ios: Temporary fix for launch dialog textfield colors in dark mode
2025-11-01 18:32:00 +05:00
Alibek Omarov
f1fde32c29
Drop legacy AuroraOS code
2025-10-19 07:39:47 +05:00
Alibek Omarov
4d300e9d30
scripts: waifulib: xcompile: add PSP compiling tools
2025-10-09 22:32:30 +05:00
Alibek Omarov
8e7a2abec5
scripts: waifulib: compiler_optimizations: always lower case build type
2025-10-03 22:05:47 +05:00
Alibek Omarov
ef70530226
scripts: waifulib: compiler_optimizations: automatically enable xtheadvector extension on C910 (like T-Head TH1520)
2025-09-25 11:07:49 +08:00
Bohdan Shulyar
ca6de641a1
android: experimental ninja build
2025-08-03 19:01:56 +05:00
Alibek Omarov
da1b9ad80d
scripts: waifulib: xcompile: enable cross compilation automatically if CROSS_COMPILE environment variable is set
2025-07-31 03:17:39 +05:00
Alibek Omarov
aec1213319
scripts: waifulib: xcompile: fix NDK 28 minimal API version
2025-07-31 03:17:39 +05:00
Alibek Omarov
234a16d611
scripts: waifulib: xcompile: add support for kbuild-style CROSS_COMPILE environment variable [skip ci]
2025-07-30 21:06:32 +05:00
Alibek Omarov
90884a2d09
scripts: waifulib: sdl2: use Emscripten's SDL port
2025-06-15 12:51:57 +05:00
Alibek Omarov
e22dadc36f
scripts: waifulib: add tool for building with Emscripten's Clang wrapper
2025-06-15 12:51:57 +05: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
321e28c810
scripts: waifulib: sdl2: fix SDL3 sanity test
2025-05-05 18:51:01 +03:00
Alibek Omarov
8359cbe76c
scripts: waifulib: add flag --enable-limited-debuginfo which enables -gline-tables-only on GCC and Clang compilers
...
This saves ~30mb of APK size on Android.
2025-03-05 02:19:39 +03:00
Alibek Omarov
9f77b7dc46
scripts: waifulib: enable HLSDK -mtune only on GCC and Clang, and not on Android
2025-02-26 17:11:10 +03:00
Alibek Omarov
5061a29f86
scripts: waifulib: enable asynchronous-unwind-tables for better stacktraces
2025-02-26 17:10:30 +03:00
Alibek Omarov
2a82d265d6
scripts: waifulib: xcompile: add support for Android NDK r27 as well
2025-02-26 12:40:22 +03:00
Alibek Omarov
f2392b5709
scripts: waifulib: xcompile: add support for building on Windows. Drop using shortcut target clang symlinks, as those don't work on Windows at all (they are wrapped into batch files, which can't be invoked like exes)
2025-02-26 12:40:22 +03:00
Alibek Omarov
a76236ac5a
scripts: waifulib: xcompile: add support for NDK 28, remove setting up custom PREFIX to not mess up installation path
2025-02-26 12:40:22 +03:00
Alibek Omarov
ec8b4c0a84
android: rework how engine is built, instead of generating CMakeLists, just use included in CMake ExternalProject feature
2025-02-26 12:40:22 +03:00
Alibek Omarov
a0eec8b85d
scripts: waifulib: add special_install_path for platform-specific executable formats that create post link stage (was nro_install_path)
2025-01-31 10:25:02 +03:00
Alibek Omarov
1c1cf3d646
scripts: waifulib: psvita: make sce_sys truly optional in apply_vpk
2025-01-31 10:02:19 +03:00
Alibek Omarov
9759b80b78
scripts: waifulib: psvita: set default title id and app name to just test
2025-01-31 09:10:39 +03:00
Alibek Omarov
ff8d17a5a8
scripts: waifulib: psvita: add missing cprogram attributes
2025-01-31 09:04:40 +03:00
Alibek Omarov
aa23196a55
scripts: waifulib: support vpk and nro pass for pure C programs, just in case
2025-01-30 20:51:01 +03:00
Alibek Omarov
3e22ee64ae
scripts: waifulib: zip: add support for passing compression level on Python 3.7. Exclude PNG files from compression
2025-01-23 13:08:21 +03:00
Tom Kidd
7bbc3e8238
Made modifications for Mac App Bundle
...
- Looks for game data in SDL pref path (Application Support)
- Sets XASH3D_EXTRAS_PAK1 to SDL base path (Resources dir in App Bundle
- Added option to force search for SDL dylib via pkgconfig on Darwin instead of Framework (option for Mac Source Ports build process)
2025-01-23 10:15:47 +03:00
Alibek Omarov
e5d80878b8
scripts: waifulib: add asan-only build type
2025-01-23 10:11:56 +03:00
Alibek Omarov
884e052d98
scripts: waifulib: cmake: replicate Waf behavior and always add build directories to the include path.
...
Also, set cmake minimum required version to 3.5 only to shut up deprecation notice.
2024-12-02 21:06:07 +03:00
Alibek Omarov
5516180ed8
scripts: waifulib: cmake: add limited subst feature support
2024-12-02 21:05:59 +03:00
Alibek Omarov
d1f70bfe2c
scripts: waifulib: cmake: filter out -MMD compiler flag from generated CMake flags
2024-11-20 07:53:12 +03:00
Alibek Omarov
8162c6d42f
scripts: waifulib: xshlib: prepend xshlib so it's always first
2024-10-24 00:46:43 +03:00
Alibek Omarov
8b8c3d8116
scripts: waifulib: xcompile: define WebAssembly target as DEST_OS wasi
2024-10-10 16:13:54 +03:00
Alibek Omarov
5d8923d69c
scripts: waifulib: sdl2: fix build on macOS
2024-10-10 15:44:32 +03:00
Alibek Omarov
04079abe00
scripts: waifulib: re-export sdl2.py from waifu repository, add sdl3 compatibility
2024-10-10 06:13:23 +03:00
Alibek Omarov
ab499d5095
scripts: waifulib: vgui: fix vgui_support getting automatically enabled on x86 machines with unsupported OS
2024-08-11 18:08:20 +03:00
Alibek Omarov
173aa7333a
scripts: waifulib: vgui: add option to disable vgui platform support checks, try to lookup DEST_CPU subdirectories for prebuilt library
2024-07-24 07:04:53 +03:00
Alibek Omarov
27cab8aad5
scripts: waifulib: compiler_optimizations: set HAVE_OPENMP=1 define if openmp feature was enabled during the build
2024-05-29 05:41:47 +03:00
Alibek Omarov
823fe9ebbd
waf: upgrade to waf 2.1.1/waifu 1.3.0. Try to fix most optparse->argparse migration issues
2024-05-25 04:58:28 +03:00
Alibek Omarov
103b9724f9
scripts: waifulib: compiler_optimizations: fix linking OpenMP
2024-05-06 15:36:26 +03:00
Alibek Omarov
5d718aa0d6
scripts: waifulib: compiler_optimizations: add flag for building with OpenMP (not used anywhere in the engine but let's keep it)
2024-05-06 06:42:15 +03:00