Commit Graph

95 Commits

Author SHA1 Message Date
Alibek Omarov 0933261898 wscript: oops, remove trailing colon 2019-10-18 16:46:54 +03:00
Alibek Omarov e93d362391 wscript: explicitly undefine HAVE_TGMATH_H if tests are failed 2019-10-18 16:46:54 +03:00
Alibek Omarov 2b13de80bf wscript: check if tgmath actually compiles, should fix building under freebsd 2019-10-18 16:46:54 +03:00
Alibek Omarov 2c67f4cb39 wscript: fix wrong object method call 2019-10-18 16:46:54 +03:00
Alibek Omarov 4705683ebc wscript: conf.define instead of directly appending to DEFINES 2019-10-18 16:46:54 +03:00
Alibek Omarov 8afb2dbdec wscript: better tgmath check, make double-promotion not an error 2019-10-18 16:46:54 +03:00
Alibek Omarov 0577ecbccf public: initial fix of double promotion 2019-10-18 16:46:54 +03:00
Alibek Omarov 869b684536 wscript: remove multicheck for win32 libs, remove sdl2 checking from main wscript 2019-10-18 06:35:05 +03:00
Alibek Omarov bc56ce754b wscript: move C only flags from common flags, correct multicheck again 2019-10-18 06:20:27 +03:00
Alibek Omarov 32897450fc wscript: declare uselib_store for multicheck 2019-10-18 05:41:56 +03:00
Alibek Omarov fdbd1c5658 wscript: check win32 libraries in parallel 2019-10-18 05:11:18 +03:00
Alibek Omarov eaf983c054 wscript: remove BIT32_ALLOW 2019-10-18 05:06:10 +03:00
Alibek Omarov 11c373a183 waf: upgrade to latest waifu 2019-10-11 07:40:40 +03:00
Alibek Omarov 7782fa09ac wscript: refactor cflags appending, add optional polyhedral optimizations 2019-10-11 04:12:07 +03:00
Alibek Omarov ae624801ac wscript: proper default showing in help 2019-10-11 03:46:17 +03:00
Alibek Omarov 8889bda261 wscript: use ConfigurationContext.define instead of appending to env['DEFINES'] 2019-10-11 03:42:20 +03:00
Alibek Omarov 39ff3b199a wscript: fix LTO check scope 2019-10-06 06:58:45 +03:00
iZarif 4c559a4a08 wscript: add --enable-lto option 2019-10-06 06:10:06 +03:00
Alibek Omarov e6dd4882cc wscript: more paranoic Werrors 2019-10-05 03:06:51 +03:00
mittorn 03c73f56d2 waf: add linkflags before filtering cflags 2019-09-29 01:42:17 +07:00
mittorn faf592adb4 waf: filter_cflags does not work with msvc 2019-09-28 04:59:09 +07:00
mittorn 0aa57854ca waf: fix unwanted required_flags modification 2019-09-28 04:36:08 +07:00
mittorn d633fe5deb waf: add cflags detection, make some warning flags optional 2019-09-28 04:26:19 +07:00
Alibek Omarov b91e97ca53 wscript: remove DEST_OS2 2019-09-19 17:09:18 +03:00
Alibek Omarov 43575b485d wscript: add an option to not strip binaries 2019-09-11 20:26:34 +03:00
Alibek Omarov 67c6cfce71 waf: strip installed binaries to reduce size 2019-09-11 18:47:44 +03:00
Alibek Omarov 5986874be2 wscript: enable clang_compilation_database in options 2019-09-10 10:30:03 +03:00
Alibek Omarov 56938344b8 engine: win32: include shellapi.h 2019-08-09 03:07:56 +03:00
Alibek Omarov b1f23f9ff6 engine: patch dedicated to build 2019-07-27 15:40:57 +03:00
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