Update uWS, add /W3 to Windows builds

This commit is contained in:
Alex Hultman 2019-12-26 20:21:53 +01:00
parent dde0762403
commit bdf5c0ca49
2 changed files with 2 additions and 2 deletions

View File

@ -77,7 +77,7 @@ void copy_files() {
void build_windows(char *arch) {
/* For all versions */
for (unsigned int i = 0; i < sizeof(versions) / sizeof(struct node_version); i++) {
run("cl /D \"LIBUS_USE_LIBUV\" /D \"LIBUS_USE_OPENSSL\" /std:c++17 /I uWebSockets/uSockets/src uWebSockets/uSockets/src/*.c "
run("cl /W3 /D \"LIBUS_USE_LIBUV\" /D \"LIBUS_USE_OPENSSL\" /std:c++17 /I uWebSockets/uSockets/src uWebSockets/uSockets/src/*.c "
"uWebSockets/uSockets/src/eventing/*.c uWebSockets/uSockets/src/crypto/*.c /I targets/node-%s/include/node /I uWebSockets/src /EHsc "
"/Ox /LD /Fedist/uws_win32_%s_%s.node src/addon.cpp targets/node-%s/node.lib",
versions[i].name, arch, versions[i].abi, versions[i].name);

@ -1 +1 @@
Subproject commit 6d1a6ba1bdbcb32ad5f40088ac89b518824418ec
Subproject commit cccbf2acabb1a785d020b978ca09269ad63f0c03