wangzhengquan
2021-01-27 653f2ac59c0c25463e531a128563c295843bc4c1
src/CMakeLists.txt
@@ -1,5 +1,3 @@
# should we use our own math functions
option(SUPPORT_RDMA "If support rdma" OFF)
@@ -8,24 +6,26 @@
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
./bus_error.cpp
./futex_sem.cpp
./svsem.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 +41,8 @@
                           ${CMAKE_CURRENT_SOURCE_DIR}/socket
                           ${CMAKE_CURRENT_SOURCE_DIR}/net
                           )
target_link_libraries(shm_queue PUBLIC  ${EXTRA_LIBS} )
# install rules
@@ -55,14 +56,17 @@
./socket/bus_server_socket_wrapper.h
./psem.h
./key_def.h
./time_util.h
./futex_sem.h
./bus_error.h
./svsem_util.h
./bus_def.h
./logger_factory.h
./queue/linked_lock_free_queue.h
./queue/array_lock_free_queue2.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
@@ -76,6 +80,7 @@
./shm/shm_allocator.h
  DESTINATION include)
install(FILES "${PROJECT_BINARY_DIR}/src/bus_config.h"