From b5ae34d4422399c5d5458d071cca8c9bc89d20bb Mon Sep 17 00:00:00 2001
From: wangzhengquan <wangzhengquan85@126.com>
Date: 星期六, 20 二月 2021 16:27:02 +0800
Subject: [PATCH] status map for close

---
 src/CMakeLists.txt |   67 ++++++++++++++++++---------------
 1 files changed, 36 insertions(+), 31 deletions(-)

diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index fcaf0c6..ca0e995 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -25,12 +25,14 @@
 ./shm/shm_mm_wrapper.cpp
 ./shm/mm.cpp
 ./shm/hashtable.cpp
+./shm/shm_mm.cpp
+
 )
 
 if (BUILD_SHARED_LIBS)
   add_library(shm_queue SHARED ${_SOURCES_})
 else()
- add_library(shm_queue SHARED ${_SOURCES_})
+ add_library(shm_queue STATIC ${_SOURCES_})
 endif()
 
 # STATIC
@@ -53,36 +55,39 @@
 # install rules
 install(TARGETS shm_queue  DESTINATION lib)
 install(FILES 
-  ./socket/socket_def.h
-  ./socket/bus_server_socket.h
-  ./socket/shm_socket.h
-  ./socket/shm_mod_socket.h
-  ./socket/bus_server_socket_wrapper.h
-  ./psem.h
-  ./key_def.h
-  ./time_util.h
-  ./futex_sem.h
-  ./bus_error.h
-  ./bus_def.h
-  ./sole.h
-  ./logger_factory.h
-  ./queue/linked_lock_free_queue.h
-  ./queue/array_lock_free_queue.h
-  ./queue/shm_queue.h
-  ./queue/array_lock_free_sem_queue.h
-  ./queue/lock_free_queue.h
-  ./svsem.h
-  ./net/net_conn_pool.h
-  ./net/net_mod_socket.h
-  ./net/net_mod_server_socket_wrapper.h
-  ./net/net_mod_socket_io.h
-  ./net/net_mod_server_socket.h
-  ./net/net_mod_socket_wrapper.h
-  ./shm/hashtable.h
-  ./shm/mem_pool.h
-  ./shm/mm.h
-  ./shm/shm_mm_wrapper.h
-  ./shm/shm_allocator.h
+ ./socket/socket_def.h
+./socket/bus_server_socket.h
+./socket/shm_socket.h
+./socket/shm_mod_socket.h
+./socket/bus_server_socket_wrapper.h
+./psem.h
+./pread_write_lock.h
+./key_def.h
+./time_util.h
+./sv_read_write_lock.h
+./futex_sem.h
+./bus_error.h
+./bus_def.h
+./logger_factory.h
+./sole.h
+./queue/linked_lock_free_queue.h
+./queue/array_lock_free_queue.h
+./queue/shm_queue.h
+./queue/array_lock_free_sem_queue.h
+./queue/lock_free_queue.h
+./svsem.h
+./net/net_conn_pool.h
+./net/net_mod_socket.h
+./net/net_mod_server_socket_wrapper.h
+./net/net_mod_socket_io.h
+./net/net_mod_server_socket.h
+./net/net_mod_socket_wrapper.h
+./shm/hashtable.h
+./shm/mm.h
+./shm/shm_mm_wrapper.h
+./shm/shm_allocator.h
+./shm/shm_mm.h
+
 
   DESTINATION include)
 

--
Gitblit v1.8.0