From 2c65db46500207f8445aa4baa53bfbb6602e0e18 Mon Sep 17 00:00:00 2001
From: wangzhengquan <wangzhengquan85@126.com>
Date: 星期四, 21 一月 2021 16:37:03 +0800
Subject: [PATCH] restructure

---
 src/CMakeLists.txt |   44 +++++++++++++++++++++++++-------------------
 1 files changed, 25 insertions(+), 19 deletions(-)

diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index cfd7f89..8343eb2 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -8,24 +8,27 @@
 configure_file(bus_config.h.in bus_config.h)
 
 add_library(shm_queue 
-  ./logger_factory.cpp
-  ./socket/bus_server_socket.cpp
-  ./socket/bus_server_socket_wrapper.cpp
-  ./socket/shm_stream_mod_socket.cpp
-  ./socket/shm_socket.cpp
-  ./socket/shm_mod_socket.cpp
-  ./psem.cpp
-  ./svsem_util.cpp
-  ./bus_error.cpp
-  ./net/net_conn_pool.cpp
-  ./net/net_mod_server_socket_wrapper.cpp
-  ./net/net_mod_socket_wrapper.cpp
-  ./net/net_mod_socket.cpp
-  ./net/net_mod_socket_io.cpp
-  ./net/net_mod_server_socket.cpp
-  ./shm/shm_mm_wrapper.cpp
-  ./shm/mm.cpp
-  ./shm/hashtable.cpp
+ ./logger_factory.cpp
+./socket/bus_server_socket.cpp
+./socket/bus_server_socket_wrapper.cpp
+./socket/shm_stream_mod_socket.cpp
+./socket/shm_socket.cpp
+./socket/shm_mod_socket.cpp
+./time_util.cpp
+./psem.cpp
+./svsem_util.cpp
+./bus_error.cpp
+./futex_sem.cpp
+./net/net_conn_pool.cpp
+./net/net_mod_server_socket_wrapper.cpp
+./net/net_mod_socket_wrapper.cpp
+./net/net_mod_socket.cpp
+./net/net_mod_socket_io.cpp
+./net/net_mod_server_socket.cpp
+./shm/shm_mm_wrapper.cpp
+./shm/mm.cpp
+./shm/hashtable.cpp
+
 
 	)
 
@@ -41,7 +44,8 @@
                            ${CMAKE_CURRENT_SOURCE_DIR}/socket
                            ${CMAKE_CURRENT_SOURCE_DIR}/net
                            )
- 
+
+
 target_link_libraries(shm_queue PUBLIC  ${EXTRA_LIBS} )
 
 # install rules
@@ -55,6 +59,8 @@
 ./socket/bus_server_socket_wrapper.h
 ./psem.h
 ./key_def.h
+./time_util.h
+./futex_sem.h
 ./bus_error.h
 ./svsem_util.h
 ./logger_factory.h

--
Gitblit v1.8.0