mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-08 13:21:51 +08:00
This makes it possible to just pass `-8` to ./waf configure on Windows and it will build 64-bit binaries. Yay I guess. However, it's completely broken conceptually -- it ends up just brute rewriting `conf.env.DEST_CPU` from `amd64` to `x86_64` at one particular point in wscript. Why? Because many places in build system expect `x86_64` as 64-bit DEST_CPU, especially breaking SDL2 lib detection. Some of these are in waifu and patching that is beyond what I can hold in my head right now. Why that particular point? Because it DEST_CPU gets rewritten a few times before that and no times after it seems. This does not address `./waf msvs` VS project generation yet -- it will still produce only Win32 platform that needs to be manually rewritten. There's a mechanism for msvs extras to be passed a set of platforms, but I've yet to make it work.
9.6 KiB
9.6 KiB