From 180d505e4cfbf54cd799a2de8f342b97e0256d2c Mon Sep 17 00:00:00 2001 From: Alex Hultman Date: Sun, 4 Nov 2018 00:11:12 +0100 Subject: [PATCH] Add uWebSockets submodule --- .gitmodules | 3 +++ Makefile | 4 ++-- uWebSockets | 1 + 3 files changed, 6 insertions(+), 2 deletions(-) create mode 100644 .gitmodules create mode 160000 uWebSockets diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..02aff9c --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "uWebSockets"] + path = uWebSockets + url = https://github.com/uNetworking/uWebSockets diff --git a/Makefile b/Makefile index b33a5b5..6507915 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ -C_SHARED := -DLIBUS_USE_LIBUV -flto -O3 -c -fPIC -I ../uWebSockets/uSockets/src ../uWebSockets/uSockets/src/*.c ../uWebSockets/uSockets/src/eventing/*.c +C_SHARED := -DLIBUS_USE_LIBUV -flto -O3 -c -fPIC -I uWebSockets/uSockets/src uWebSockets/uSockets/src/*.c uWebSockets/uSockets/src/eventing/*.c -CPP_SHARED := -DLIBUS_USE_LIBUV -flto -O3 -c -fPIC -std=c++17 -I ../uWebSockets/uSockets/src -I ../uWebSockets/src src/addon.cpp +CPP_SHARED := -DLIBUS_USE_LIBUV -flto -O3 -c -fPIC -std=c++17 -I uWebSockets/uSockets/src -I uWebSockets/src src/addon.cpp CPP_OSX := -stdlib=libc++ -mmacosx-version-min=10.7 -undefined dynamic_lookup diff --git a/uWebSockets b/uWebSockets new file mode 160000 index 0000000..62ac8d1 --- /dev/null +++ b/uWebSockets @@ -0,0 +1 @@ +Subproject commit 62ac8d16de51060d8271e1bff3d4093ddb3aad6f