Commit Graph

66 Commits

Author SHA1 Message Date
Alibek Omarov 35ae421ac1 wscript: add shortened option for win-style-install 2019-07-27 14:34:59 +03:00
Alibek Omarov 0ce8d92f27 wscript: ease debugging with sanitizers under Clang 2019-07-26 17:10:47 +03:00
Alibek Omarov 8a4239d48d wscript: disallow -Wparentheses 2019-07-13 23:26:19 +03:00
Alibek Omarov 58a747e8ac wscript: proper activation of sanitizer on Clang 2019-07-11 03:59:20 +03:00
Alibek Omarov be98a228a7 wscript: enforce hidden visibility 2019-07-09 04:53:25 +03:00
Alibek Omarov 8d0ea1d03e wscript: disallow int-conversion 2019-07-09 03:48:09 +03:00
Alibek Omarov 7702a7a8d0 wscript: force /MT for msvc explicitly 2019-07-07 00:15:52 +03:00
Alibek Omarov a378379ac5 engine: network: link to Winsock2 directly 2019-06-29 22:01:32 +03:00
Alibek Omarov b1406e8ecd waf: fix multiprocess compilation with msvc 2019-06-26 16:41:58 +03:00
Alibek Omarov ba11b849ed
wscript: disable thread-safe local static initialization for C++11 code, as it cause crashes on Windows XP 2019-06-13 00:49:27 +03:00
Alibek Omarov 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
Alibek Omarov 1ffc593993
wscript: check for 64-bit only for Win/Linux/Mac and only on amd64
It's useless to force 32-bit code for everything, as GoldSrc exists only for Intel CPUs and Windows, Linux or OSX
2019-05-31 02:59:45 +03:00
Alibek Omarov 94ec8cb997 wscript: add -fPIC for static libraries globally 2019-05-28 04:12:02 +03:00
Alibek Omarov 4606a18b25 wscript: add useful flags for clang also 2019-05-28 00:30:52 +03:00
Alibek Omarov 7d3e8c0a57 wscript: error on return-type, some android related changes 2019-05-12 03:03:34 +03:00
Alibek Omarov f904ba53e2 wscript: fix typo 2019-05-06 19:25:10 +03:00
Alibek Omarov e06b7412ac engine: wscript: don't build external launcher for Android and disable main() 2019-05-06 04:40:46 +03:00
Alibek Omarov 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
Alibek Omarov 3ebb4d0ea3 waflib: xcompile: check arch, configure 'M' uselib to m_hard on hardfp, remove linker select 2019-05-01 01:58:27 +03:00
mittorn f1638b09c5 waf: implement 'reconfigure' module 2019-04-12 02:45:23 +07:00
mittorn 741fcfb202 Add new build types, fix gcc colors 2019-04-12 00:19:40 +07:00
Alibek Omarov 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
Alibek Omarov 7704d9b2ef wscript: add /FS to avoid race condition on PDB file(second try) 2019-04-08 21:34:41 +03:00
Alibek Omarov 8b16c30fb8 wscript: always optimize on MSVC(temporary) and always generate PDB using /Zi 2019-04-08 21:10:36 +03:00
Alibek Omarov 20a177c783 wscript: enable msvs.py, as it's handy for those who can actually install Python 2019-04-08 21:09:23 +03:00
Alibek Omarov 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
Alibek Omarov 9cd22a98bd wscript: fix mistyped msvc flag 2019-04-08 21:08:50 +03:00
Alibek Omarov 031bac8d13 wscript: move msvc.py initialization BEFORE compiler_c, so we can set compiler with --msvc_version command line switch 2019-04-08 21:07:02 +03:00
Alibek Omarov 58b5e1a9df wscript: introduce shortened frequently used configuration options 2019-03-26 16:26:02 +03:00
Alibek Omarov 17f719558c wscript: move build env setup to main wscript 2019-03-25 01:25:44 +03:00
Alibek Omarov 8abbef8dbd scripts: try to workaround mingw bug by adding sse2 2019-03-21 17:47:16 +03:00
Alibek Omarov 121c72c9e0 Merge origin/master into ref_dll 2019-03-20 02:38:13 +03:00
Alibek Omarov fb6fd61cd9 public: initial moving some common code into static public library, that can be linked to any engine part 2019-03-20 01:17:46 +03:00
Alibek Omarov 94cbb4e1e0 wscript: fix wrong dedicated skip subproject check 2019-03-03 03:38:02 +03:00
Alibek Omarov e193ac2c04 ref: more @mittorn's changes on RefAPI 2019-02-23 21:49:46 +03:00
Gianluca Boiano 142a38f3dc fixed taberror: inconsistent use of tabs and spaces in indentation 2019-02-23 15:51:03 +01:00
Alibek Omarov 5e17b4bf17 wscript: remove useless option type specifier 2019-02-19 17:55:45 +03:00
Alibek Omarov 2c17dce25b wscript: check for dedicated or singlebinary before recurse into subdirectory, add a chance to skip some subprojects on configuration stage 2019-02-19 17:49:09 +03:00
Alibek Omarov 1b372115a5 wscript: move options to subgroups, reorder option plugins loading 2019-02-19 16:33:14 +03:00
Alibek Omarov 99bd7c81da ref: render code moved out of engine, doesn't compile, first API prototype 2019-02-18 21:25:26 +03:00
mittorn ed049ea539 Implement --single-binary and --stdin-input options 2019-01-28 14:09:06 +00:00
Alibek Omarov a297a0b5ad wscript: fix git commit hash 2019-01-13 16:46:50 +03:00
Alibek Omarov 9da413b2cc waf: add clang compilation database support 2019-01-13 16:46:12 +03:00
Alibek Omarov 908082097f wscript: error on implicit function declaration by default on any build type. Remove redutant Options import. 2019-01-07 03:59:56 +03:00
iZarif 245533defa wscript: SUBDIRS loop refactor 2018-12-30 20:39:17 +03:00
Alibek Omarov 463a339a09 wscript: initial support for building on Android 2018-12-20 09:48:22 +03:00
Alibek Omarov bd7e2fe88d wscript: use no-undefined only on gcc 2018-12-17 02:35:37 +03:00
Alibek Omarov 95ce9fc00f wscript: explicitly set language when checking library 2018-12-16 17:10:01 +03:00
Alibek Omarov 08dd632d87 wscript: fix git version definition 2018-12-13 08:13:27 +03:00
Alibek Omarov bbde1394e1 wscript: move some code to our waflib, remove --no-gcc-colors, as newer GCC colorize output automatically, so there is no need in -fdisagnostic-colors=aloways flag, move common win32 libraries check here, better output for subprojects 2018-12-13 08:08:33 +03:00