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