accacd54f5
waifulib: set debug builds to be built with -O0, gcc -Od is broken
2021-03-11 20:17:39 +03:00
c0db39594b
scripts: enable building utils for PC platforms
2021-03-05 16:04:20 +03:00
b278751834
waf: upgrade to waifu 1.1.0
2021-02-28 15:39:22 +03:00
SNMetamorph
932fc8e3c7
wscript: fixed MSVC optimization flag in debug mode
2021-02-20 14:22:20 +03:00
d6d90f03a0
wscript: refactoring, split optimization flags selection and fpic control into standalone modules
2021-01-29 03:33:14 +03:00
Gleb Mazovetskiy
23998ef720
makepak.py: Skip all filenames starting with .
...
This makes it much simpler to define a buildroot package for xash-extras
buildroot places various buildroot-internal dot files in the package build directory
2020-12-30 14:40:32 +03:00
Gleb Mazovetskiy
b40344f1f0
travis: unzip quietly
...
Helps avoid the following error message:
> The job exceeded the maximum log length, and has been terminated.
(e.g. https://travis-ci.org/github/FWGS/xash3d-fwgs/jobs/751744736 )
2020-12-28 13:09:01 +03:00
9acedb3408
travis: restore unzipping file
2020-11-29 19:45:05 +03:00
ede9e5095d
travis: fix getting android deps
2020-11-28 23:22:57 +03:00
f2120672d0
travis: update android sdk level
2020-11-28 01:30:55 +03:00
d3ab2023ae
travis: combine downloading zip file and unpacking it
2020-11-28 01:30:55 +03:00
f60c398f32
scripts/xcompile/android: add ability to specify HOST_TOOLCHAIN and override hard-coded one
2020-11-18 12:34:38 +03:00
Alexey
fff71e449e
Fix android travis build again
2020-08-24 19:08:38 +03:00
a5e3a74e93
waf/xcompile: gnu hash on android confuses old linkers
2020-07-08 02:40:43 +07:00
17cf4bf402
scripts: travis: we're NOT moved to GitHub Releases
2020-02-28 09:13:33 +03:00
e3d9ac4840
scripts/xshlib: line endings fix
2020-02-25 13:35:55 +02:00
0ee5ff3aad
waifulib/owcc: add -xx to ignore default includes
2020-02-12 17:39:42 +07:00
a0d09c9954
lib_static: fix warnings
2020-02-08 23:39:35 +07:00
828def3b25
waifulib: owcc tool
2020-02-08 23:15:40 +07:00
97228a4249
lib_static: use functions for exports instead of globals
2020-02-08 23:15:40 +07:00
22dc5b7416
Merge branch 'lib' of https://github.com/FWGS/xash3d-fwgs
2020-01-18 07:15:45 +07:00
7dde4c03a7
scripts: enable mobile_hacks HLSDK branch for MotoMAGX
2019-12-03 03:49:47 +03:00
dd3fcb6461
scripts: fix android travis build
2019-12-03 02:58:03 +03:00
2ee7367567
scripts: don't symlink engine and hlsdk sources on Android as -sl
2019-12-02 02:15:25 +03:00
6f58ef2394
scripts/xshlib: code clean
2019-11-18 21:08:03 +07:00
177f8ed653
platform: introduce lib backends, add static linking, wscript: add optional projects support, add static linking support, scripts: add xshlib for advanced linking options
2019-11-18 03:31:55 +07:00
611ee64cd9
scripts: build_motomagx_engine: use waf install now, as HLSDK now supports library naming scheme
2019-11-11 04:14:18 +03:00
f09682131f
travis: fix magx deploy
2019-11-07 08:41:10 +03:00
32ddc2a47f
waifulib: xcompile: we need to disable builtins even on armeabi with host compiler and NDK r10e
2019-11-07 07:30:41 +03:00
5bae732818
scripts: build ref_soft for magx
2019-11-07 05:15:45 +03:00
08b3de08e7
wscript: use SINGLE_BINARY on motomagx
2019-11-07 05:07:28 +03:00
d68823708f
scripts: include run.sh script for magx
2019-11-07 05:01:16 +03:00
94c42160b7
travis: enable CI for motomagx
2019-11-07 02:46:04 +03:00
6bc6f0dd70
scripts: run windows builds verbose
2019-11-05 09:41:58 +03:00
94dc801150
scripts: remove single-binary for xashds, as it already set implicitly.
2019-10-18 07:45:05 +03:00
cf35943f51
scripts: build_freebsd_engine: remove building SDL2, as it will be installed from ports, use /bin/sh as interpreter
2019-10-18 07:13:48 +03:00
cd715178d2
scripts: set executable flags when needed
2019-10-18 07:05:16 +03:00
e0e9942bd5
waifulib: remove modules that now part of waifu distribution
2019-10-18 05:14:01 +03:00
a38f561d7c
ci: use SDL2 zip source archive
2019-10-16 02:18:12 +03:00
83d3c02e53
ci: add Cirrus CI support with FreeBSD
2019-10-16 02:09:47 +03:00
ee363ebb74
waifulib: fix including system includes
2019-10-11 10:04:32 +03:00
2183240221
waifulib: xcompile: fix aarch64 binary installation
2019-10-09 05:52:43 +03:00
9fd7e333df
travis: another blind try to fix r10e unpack
2019-10-09 04:37:38 +03:00
f33de46508
travis: verbose 7z x for r10e ndk
2019-10-09 04:08:34 +03:00
9ea973dad6
waifulib: xcompile: fix C++ with host toolchain
2019-10-09 03:48:51 +03:00
53d2d10932
travis: add Android 64 and Android hardfp experimental builds
2019-10-09 02:34:30 +03:00
02e111c5e1
waifulib: xcompile: fix clang detection
2019-10-05 03:35:11 +03:00
5a8de90918
waifulib: xcompile: light refactoring
2019-10-05 01:16:20 +03:00
2d6b770e7c
waifulib: xcompile: allow building with host Clang and NDK r10e sysroot
2019-10-04 22:21:11 +03:00
b777ba9549
scripts: comment out github releases deployment until github fixes itself
2019-09-29 18:39:33 +03:00
bc39b707d4
Revert github repository deploy removal
2019-09-29 18:38:31 +03:00
fd8c1becec
waifulib: gcc-6 support for android
2019-09-28 04:26:19 +07:00
8f47596ad0
waifulib: xcompile: append SONAME to shared libraries, experimental support for host compiling with NDK r10e(don't work), replace exceptions with fatal messages
2019-09-21 03:52:47 +03:00
4f4c63b1dd
waifulib: xcompile: enhance compiling using host clang, refactoring
2019-09-20 18:49:37 +03:00
66323fe9ca
waifulib: xcompile: preserve order of MACROS_TO_DESTOS, add -stdlib=libstdc++ to use system provided C++ standard library
2019-09-20 16:30:17 +03:00
16e60bbb5f
waifulib: xcompile: use llvm-strip on host
2019-09-19 18:18:42 +03:00
0389d2495f
waifulib: strip_on_install: add changed bytes counter
2019-09-19 18:18:25 +03:00
cd0f7af38a
waifulib: xcompile: get rid of DEST_OS2
2019-09-19 17:09:18 +03:00
ac1bf4a9f8
waifulib: strip_on_install: fix typo
2019-09-12 17:00:08 +03:00
af0046f401
waifulib: strip_on_install: don't strip on PE and unknown binaries [ci skip]
2019-09-11 20:37:47 +03:00
43575b485d
wscript: add an option to not strip binaries
2019-09-11 20:26:34 +03:00
67c6cfce71
waf: strip installed binaries to reduce size
2019-09-11 18:47:44 +03:00
d1ac48b2a1
waifulib: allow compiling using host clang and NDK sysroots, thus enabling building engine from any environment that has clang(termux as example)
2019-09-10 11:24:11 +06:00
143310bdb7
travis: android: make it more quiet
2019-07-29 08:31:38 +03:00
dc8b8ccab3
travis: android: accept all licenses
2019-07-29 08:27:11 +03:00
e3c095a3fa
travis: specify android version
2019-07-29 08:20:05 +03:00
61f49938e5
travis: build for android, not publish until touch controls are not done
2019-07-29 08:10:04 +03:00
d697421d81
scripts: waifulib: add ndk r20 support
2019-07-29 06:54:05 +03:00
53eb569216
scripts: fix linux build again
2019-07-27 15:33:03 +03:00
7c8105247c
scripts: allow building dedicated, rename appimage to lower-case, fix warnings found by shellcheck
2019-07-27 14:49:01 +03:00
e3e161f281
scripts: explicitly name appimage
2019-07-27 13:49:37 +03:00
a5593963c5
scripts: fix amd64 build
2019-07-26 17:25:46 +03:00
1636d36dc2
travis: try to fix linux builds #2
2019-07-25 04:56:59 +03:00
9bb2870e38
travis: try to fix travis
2019-07-21 12:40:47 +03:00
827105405f
travis: enable building and publishing for AMD64. Use at your own risk!
2019-07-20 05:07:22 +03:00
baefab7e3d
travis: remove repository deployment
2019-07-09 15:43:30 +03:00
8b94443ba2
scripts: travis: make PRs succeed, add a note about moving to GitHub Releases
2019-07-08 19:10:49 +03:00
0366035237
travis: add github releases uploader ( #47 )
2019-07-01 00:40:52 +03:00
b1406e8ecd
waf: fix multiprocess compilation with msvc
2019-06-26 16:41:58 +03:00
7484c51490
appimage: fix packaging
2019-06-17 18:29:31 +03:00
96c4044a6c
appimage: use APPDIR enviroment variable to determine application directory
2019-06-17 15:45:28 +03:00
014a09e222
appimage: fix AppRun shell-script POSIX compatibility
2019-06-12 22:14:12 +03:00
497ae6d269
Remove optimizations on mingw until game exports is marked
2019-06-08 20:36:29 +07:00
a8cc5b7cef
waf: update to 2.0.17, rename module dir to waifulib, remove some modules, as they moved to waf binary itself(see waifu project)
2019-06-06 03:26:45 +03:00
37181e410f
waflib: fix wrong identation.
2019-06-01 18:59:24 +03:00
4a1f441151
waflib: xcompile: Android NDK r19c support
2019-05-28 04:13:19 +03:00
82697ca2a9
waflib: force_32bit: fix wrong DEST_SIZEOF_VOID_P when 64-bit build is allowed
2019-05-28 03:44:46 +03:00
9145589414
waflib: xcompile: fix hardfp linking
2019-05-28 00:29:26 +03:00
67ce4cfbef
travis: windows: die if waf has failed
2019-05-23 22:13:00 +03:00
dec1b8dfb4
waflib: xcompile: even if hardfloat ABI is selected, force architecture name as armeabi-v7a, as armeabi-v7a-hard is completely virtual. Move options defines to main wscript
2019-05-06 04:11:12 +03:00
c9b5332d16
waflib: subproject: preserve IGNORED_SUBDIRS between contexts, fix broken logic
2019-05-05 00:22:03 +03:00
3fef353291
android: initial port
2019-05-02 18:07:03 +03:00
87f380b90c
waflib: xcompile: define both __ANDROID__ and ANDROID for compatibility
2019-05-01 19:03:23 +03:00
3ebb4d0ea3
waflib: xcompile: check arch, configure 'M' uselib to m_hard on hardfp, remove linker select
2019-05-01 01:58:27 +03:00
d4b4a4a864
waflib: xcompile: add support for ANDROID_NDK environment variable, as well as ANDROID_NDK_HOME. Fix help message.
2019-04-27 13:01:05 +03:00
d5911b33b1
msvc8 support
2019-04-12 14:33:57 +07:00
f1638b09c5
waf: implement 'reconfigure' module
2019-04-12 02:45:23 +07:00
54d54b1457
waf: fix python3
2019-04-12 00:19:12 +07:00
b2038e76d3
waflib: subproject: carefully restore previous enviroment in configuration context
2019-04-11 01:38:00 +03:00
eb650b71ad
waflib: subproject: restore environment in build context
2019-04-11 01:32:19 +03:00
459f4a9788
scripts: waflib: introduce new waf plugin -- subproject, which makes easier use of standalone envs for each subdirectory
2019-04-11 00:15:48 +03:00
d17fdea884
waflib: remove get_subproject_name function
2019-04-11 00:13:59 +03:00
b20efff57c
msdev: add line breaks to lines
2019-04-10 01:55:43 +03:00
36159e6622
msdev: convert solution to list
2019-04-10 01:55:43 +03:00
c953ba0852
msdev: add line breaks to solution
2019-04-10 01:55:43 +03:00
b38ef43260
msdev: include solution file
2019-04-10 01:55:43 +03:00
fea2395a80
msdev: fix
2019-04-10 01:55:43 +03:00
ffaab11da9
msdev: add relative library paths
2019-04-10 01:55:43 +03:00
f6b3603934
msdev: fix
2019-04-10 01:55:43 +03:00
9421963b29
msdev: print abspath
2019-04-10 01:55:43 +03:00
239c13da28
msdev: remove printing bld.root
2019-04-10 01:55:43 +03:00
eb6f67ed07
msdev: print include paths
2019-04-10 01:55:43 +03:00
c206e72f7b
msdev: fix
2019-04-10 01:55:43 +03:00
79e6ebbe23
msdev: fix
2019-04-10 01:55:43 +03:00
d4638a9cf4
msdev: find relative include path
2019-04-10 01:55:43 +03:00
7ccc9b0795
Revert "waf: try relative SDL2 path"
...
This reverts commit 50f0ae5234
.
2019-04-10 01:55:43 +03:00
6c1d911193
waf: try relative SDL2 path
2019-04-10 01:55:43 +03:00
777562aea8
Revert "Revert "scripts: try to avoid race condition when MSVC writes to same pdb file in multiple threads""
...
This reverts commit a40d64d3a6
.
2019-04-08 21:46:59 +03:00
a40d64d3a6
Revert "scripts: try to avoid race condition when MSVC writes to same pdb file in multiple threads"
...
This reverts commit d87dd2a60a
.
2019-04-08 21:36:48 +03:00
d87dd2a60a
scripts: try to avoid race condition when MSVC writes to same pdb file in multiple threads
2019-04-08 21:31:57 +03:00
0840d9ec25
scripts: fix deploying vc2008 solution and empty vc2008 folder
2019-04-08 21:09:23 +03:00
4124e01d65
scripts: enable deploying vc2008 project
2019-04-08 21:09:21 +03:00
129325f3a4
scripts: waflib: add msdev.py tool by Michel Mooij, patched to support uselib, separate envs and so
2019-04-08 21:08:52 +03:00
041315da44
scripts: use waf install to generate packages
2019-04-08 21:08:15 +03:00
f9f96552b7
travis: move mingw engine build to standalone VM
2019-03-30 01:29:40 +03:00
8b07916598
scripts: travis: fix deployment, finally
2019-03-29 23:57:44 +03:00
50c656df94
scripts: travis: fix upload to yadisk
2019-03-29 23:48:34 +03:00
5436658ce7
scripts: travis: accept everything when installing python from choco
2019-03-29 23:40:25 +03:00
d7ea40d850
scripts: remove waf jobs, as waf smart enough to get CPU number, fix upload archive name for osx, install newer python in windows
2019-03-29 23:32:06 +03:00
ae26783902
scripts: travis: yet another workaround for mingw...
2019-03-29 23:11:39 +03:00
880a9651d8
scripts: travis: use stages, use yandex disk as temporary place for build artifacts
2019-03-29 22:51:31 +03:00
db30358d06
travis: fix osx archive name, remove unneeded envvars on osx, try to fix windows python
2019-03-29 06:08:41 +03:00
752dd13c04
scripts: travis: uncomment osx packaging
2019-03-29 05:44:36 +03:00
efc12f1045
scripts: travis: test windows scripts
2019-03-29 05:39:41 +03:00
becb58223a
scripts: travis: rewrite deploy script with commit up support
2019-03-29 05:26:01 +03:00
Alibek Omarov
58b5e1a9df
wscript: introduce shortened frequently used configuration options
2019-03-26 16:26:02 +03:00
Alibek Omarov
8abbef8dbd
scripts: try to workaround mingw bug by adding sse2
2019-03-21 17:47:16 +03:00
7299ee9f11
Try fix mingw linking
2019-02-23 18:32:49 +07:00
Alibek Omarov
5e17b4bf17
wscript: remove useless option type specifier
2019-02-19 17:55:45 +03:00
Alibek Omarov
1b372115a5
wscript: move options to subgroups, reorder option plugins loading
2019-02-19 16:33:14 +03:00
9da413b2cc
waf: add clang compilation database support
2019-01-13 16:46:12 +03:00
0ca0dc9731
travis: fix packaging mingw build
2019-01-13 18:26:00 +05:00
0409107ee2
scripts: appimage: fix generating extras.pak
2019-01-12 03:01:50 +03:00
71cae6b02b
waflib: add xcompile helper plugin intended to integrate with platform SDKs, like Android NDK
2018-12-20 09:44:51 +03:00
aac44ef866
waflib: try to fix sdl2 searching on osx again
2018-12-19 06:57:54 +03:00
5d6d6c766e
scripts: sdl2: fix finding sdl2 on osx
2018-12-17 03:11:41 +03:00
28e6dec4b0
scripts: osx: fix path to SDL2 framework
2018-12-17 02:59:57 +03:00
e2606cf97f
scripts: stop executing script and print config.log, if waf was failed.
2018-12-17 02:53:00 +03:00
30c32b0088
waflib: sdl2: fix finding sdl2 on osx
2018-12-17 02:34:49 +03:00
a580e98f28
waflib: force_32bit: try to fix passing additional flags to generate 32bit code on MacOSX
2018-12-16 17:01:12 +03:00
2072f5c276
scripts: fix travis scripts after refactoring wscript
2018-12-13 18:44:13 +03:00
28c47a5c86
scripts: fix travis scripts after refactoring wscripts
2018-12-13 18:43:33 +03:00
ec50c4571c
waflib: add some waf plugins by FWGS
2018-12-13 08:00:22 +03:00
6eb327eac2
scripts: enable verbose build, fix including SDL2
2018-12-13 03:25:46 +03:00
154ef82719
scripts: add mingw build archive creation
2018-12-12 04:49:11 +03:00
6a78b4ed1f
scripts: fix appimagetool warning
2018-12-12 04:33:18 +03:00
239c6759cb
scripts: add travis deploy script
2018-12-12 04:32:58 +03:00
017714f3a0
scripts: give build_appimage.sh +x
2018-12-12 04:24:47 +03:00
f9b13472b5
scripts: autobuild appimage on travis
2018-12-12 04:19:17 +03:00
2922267ae1
scripts: add xash-extras to travis common deps
2018-12-12 04:18:58 +03:00
3c4e75f1b2
scripts: add script building AppImage based on portable build for Linux
2018-12-12 04:18:09 +03:00
130a7b3c42
scripts: move makepak.py from android project repo to engine main repo, port to python3, replace spaces by tabs
2018-12-12 04:16:23 +03:00
776d1cb52c
wscript: try to fix windres searching for game_launch, fix osx 32 bit compiling
2018-11-19 01:58:40 +03:00
81e142936d
wscript: use lower-case win32 libraries names for crosscompiling from Linux
2018-11-19 00:46:29 +03:00
a6fba0cb96
travis: scripts: try to fix mingw and osx build
2018-11-18 23:16:12 +03:00
4db01487ba
travis: scripts: install python for osx
2018-11-18 22:55:47 +03:00
d3c310628f
travis: scripts: enable stb font renderer for linux
2018-11-18 22:41:16 +03:00
62af116654
travis: scripts: set SDL2 prefix
2018-11-18 22:37:06 +03:00
27ee4337fe
travis: fix building sdl2, fix libpath in wscript
2018-11-18 18:52:57 +03:00
f0297fc448
travis: initial support
2018-11-18 18:33:32 +03:00