From 93642e8667ec582c4aa6d461d85392e8c9334f31 Mon Sep 17 00:00:00 2001 From: Relintai Date: Thu, 18 Jan 2024 18:18:48 +0100 Subject: [PATCH] Added socket and inet_address to the build. --- compile_linux.sh | 3 +++ compile_linux_sfwl.sh | 11 ++++++++--- compile_vs.bat | 3 +++ compile_windows.sh | 3 +++ 4 files changed, 17 insertions(+), 3 deletions(-) diff --git a/compile_linux.sh b/compile_linux.sh index 5eda763..6e7f677 100755 --- a/compile_linux.sh +++ b/compile_linux.sh @@ -44,6 +44,8 @@ ccache g++ -Wall -D_REENTRANT -g -Isfw -c sfw/core/mutex.cpp -o sfw/core/mutex.o ccache g++ -Wall -D_REENTRANT -g -Isfw -c sfw/core/sfw_time.cpp -o sfw/core/sfw_time.o ccache g++ -Wall -D_REENTRANT -g -Isfw -c sfw/core/thread.cpp -o sfw/core/thread.o +ccache g++ -Wall -D_REENTRANT -g -Isfw -c sfw/core/socket.cpp -o sfw/core/socket.o +ccache g++ -Wall -D_REENTRANT -g -Isfw -c sfw/core/inet_address.cpp -o sfw/core/inet_address.o ccache g++ -Wall -D_REENTRANT -g -Isfw -c sfw/core/sfw_core.cpp -o sfw/core/sfw_core.o @@ -111,6 +113,7 @@ ccache g++ -Wall -lX11 -D_REENTRANT -g sfw/core/aabb.o sfw/core/basis.o sfw/core sfw/core/vector3i.o sfw/core/vector4.o sfw/core/vector4i.o \ sfw/core/pool_vector.o sfw/core/pool_allocator.o sfw/core/mutex.o sfw/core/sfw_time.o \ sfw/core/dir_access.o sfw/core/file_access.o sfw/core/thread.o \ + sfw/core/socket.o sfw/core/inet_address.o \ sfw/core/sfw_core.o \ sfw/object/object.o sfw/object/reference.o sfw/object/core_string_names.o \ sfw/object/variant.o sfw/object/variant_op.o sfw/object/psignal.o \ diff --git a/compile_linux_sfwl.sh b/compile_linux_sfwl.sh index 636e39b..42d995e 100755 --- a/compile_linux_sfwl.sh +++ b/compile_linux_sfwl.sh @@ -41,7 +41,11 @@ ccache g++ -Wall -D_REENTRANT -g -Isfw -c sfw/core/dir_access.cpp -o sfw/core/di ccache g++ -Wall -D_REENTRANT -g -Isfw -c sfw/core/pool_vector.cpp -o sfw/core/pool_vector.o ccache g++ -Wall -D_REENTRANT -g -Isfw -c sfw/core/pool_allocator.cpp -o sfw/core/pool_allocator.o ccache g++ -Wall -D_REENTRANT -g -Isfw -c sfw/core/mutex.cpp -o sfw/core/mutex.o -ccache g++ -Wall -D_REENTRANT -g -Isfw -c sfw/core/sfw_time.cpp -o sfw/core/SFWTime.o +ccache g++ -Wall -D_REENTRANT -g -Isfw -c sfw/core/sfw_time.cpp -o sfw/core/sfw_time.o + +ccache g++ -Wall -D_REENTRANT -g -Isfw -c sfw/core/thread.cpp -o sfw/core/thread.o +ccache g++ -Wall -D_REENTRANT -g -Isfw -c sfw/core/socket.cpp -o sfw/core/socket.o +ccache g++ -Wall -D_REENTRANT -g -Isfw -c sfw/core/inet_address.cpp -o sfw/core/inet_address.o ccache g++ -Wall -D_REENTRANT -g -Isfw -c sfw/core/sfw_core.cpp -o sfw/core/sfw_core.o @@ -106,8 +110,9 @@ ccache g++ -Wall -lm -ldl -lpthread -lX11 -D_REENTRANT -g sfw/core/aabb.o sfw/c sfw/core/ustring.o sfw/core/string_name.o \ sfw/core/vector2.o sfw/core/vector2i.o sfw/core/vector3.o \ sfw/core/vector3i.o sfw/core/vector4.o sfw/core/vector4i.o \ - sfw/core/pool_vector.o sfw/core/pool_allocator.o sfw/core/mutex.o sfw/core/SFWTime.o \ - sfw/core/dir_access.o sfw/core/file_access.o \ + sfw/core/pool_vector.o sfw/core/pool_allocator.o sfw/core/mutex.o sfw/core/sfw_time.o \ + sfw/core/dir_access.o sfw/core/file_access.o sfw/core/thread.o \ + sfw/core/socket.o sfw/core/inet_address.o \ sfw/core/sfw_core.o \ sfw/object/object.o sfw/object/reference.o sfw/object/core_string_names.o \ sfw/object/variant.o sfw/object/variant_op.o sfw/object/psignal.o \ diff --git a/compile_vs.bat b/compile_vs.bat index ff6b7db..53172d0 100644 --- a/compile_vs.bat +++ b/compile_vs.bat @@ -43,6 +43,8 @@ cl /D_REENTRANT /EHsc /Zi /Isfw /c sfw/core/mutex.cpp /Fo:sfw/core/mutex.obj cl /D_REENTRANT /EHsc /Zi /Isfw /c sfw/core/sfw_time.cpp /Fo:sfw/core/sfw_time.obj cl /D_REENTRANT /EHsc /Zi /Isfw /c sfw/core/thread.cpp /Fo:sfw/core/thread.obj +cl /D_REENTRANT /EHsc /Zi /Isfw /c sfw/core/socket.cpp /Fo:sfw/core/socket.obj +cl /D_REENTRANT /EHsc /Zi /Isfw /c sfw/core/inet_address.cpp /Fo:sfw/core/inet_address.obj cl /D_REENTRANT /EHsc /Zi /Isfw /c sfw/core/sfw_core.cpp /Fo:sfw/core/sfw_core.obj @@ -123,6 +125,7 @@ cl /D_REENTRANT /Zi ^ sfw/core/vector3i.obj sfw/core/vector4.obj sfw/core/vector4i.obj ^ sfw/core/pool_vector.obj sfw/core/pool_allocator.obj sfw/core/mutex.obj sfw/core/sfw_time.obj ^ sfw/core/dir_access.obj sfw/core/file_access.obj sfw/core/thread.obj ^ + sfw/core/socket.obj sfw/core/inet_address.obj ^ sfw/core/sfw_core.obj ^ sfw/object/object.obj sfw/object/reference.obj sfw/object/core_string_names.obj ^ sfw/object/variant.obj sfw/object/variant_op.obj sfw/object/psignal.obj ^ diff --git a/compile_windows.sh b/compile_windows.sh index 13d9b30..f532220 100644 --- a/compile_windows.sh +++ b/compile_windows.sh @@ -45,6 +45,8 @@ ccache g++ -Wall -D_REENTRANT -g -Isfw -c sfw/core/mutex.cpp -o sfw/core/mutex.o ccache g++ -Wall -D_REENTRANT -g -Isfw -c sfw/core/sfw_time.cpp -o sfw/core/sfw_time.o ccache g++ -Wall -D_REENTRANT -g -Isfw -c sfw/core/thread.cpp -o sfw/core/thread.o +ccache g++ -Wall -D_REENTRANT -g -Isfw -c sfw/core/socket.cpp -o sfw/core/socket.o +ccache g++ -Wall -D_REENTRANT -g -Isfw -c sfw/core/inet_address.cpp -o sfw/core/inet_address.o ccache g++ -Wall -D_REENTRANT -g -Isfw -c sfw/core/sfw_core.cpp -o sfw/core/sfw_core.o @@ -113,6 +115,7 @@ ccache g++ -Wall \ sfw/core/vector3i.o sfw/core/vector4.o sfw/core/vector4i.o \ sfw/core/pool_vector.o sfw/core/pool_allocator.o sfw/core/mutex.o sfw/core/sfw_time.o \ sfw/core/dir_access.o sfw/core/file_access.o sfw/core/thread.o \ + sfw/core/socket.o sfw/core/inet_address.o \ sfw/core/sfw_core.o \ sfw/object/object.o sfw/object/reference.o sfw/object/core_string_names.o \ sfw/object/variant.o sfw/object/variant_op.o sfw/object/psignal.o \