wangzhengquan
2021-01-21 4fd62552d8277f3d0ed20e66663cd219c36796df
src/CMakeLists.txt
@@ -8,24 +8,24 @@
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/net_conn_pool.cpp
      socket/shm_mod_socket.cpp
      socket/net_mod_server_socket_wrapper.cpp
      socket/net_mod_socket_wrapper.cpp
      socket/net_mod_socket.cpp
      socket/net_mod_socket_io.cpp
      socket/net_mod_server_socket.cpp
      bus_error.cpp
      shm/shm_mm_wrapper.cpp
      shm/mm.cpp
      shm/hashtable.cpp
      px_sem_util.cpp
    svsem_util.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
  ./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
   )
@@ -39,6 +39,7 @@
                           ${CMAKE_CURRENT_SOURCE_DIR}/shm
                           ${CMAKE_CURRENT_SOURCE_DIR}/queue
                           ${CMAKE_CURRENT_SOURCE_DIR}/socket
                           ${CMAKE_CURRENT_SOURCE_DIR}/net
                           )
 
target_link_libraries(shm_queue PUBLIC  ${EXTRA_LIBS} )
@@ -46,32 +47,34 @@
# install rules
install(TARGETS shm_queue DESTINATION lib)
install(FILES 
  socket/socket_def.h
  socket/net_conn_pool.h
  socket/bus_server_socket.h
  socket/shm_socket.h
  socket/net_mod_socket.h
  socket/shm_stream_mod_socket.h
  socket/net_mod_server_socket_wrapper.h
  socket/net_mod_socket_io.h
  socket/net_mod_server_socket.h
  socket/shm_mod_socket.h
  socket/net_mod_socket_wrapper.h
  socket/bus_server_socket_wrapper.h
  key_def.h
  bus_error.h
  px_sem_util.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/lock_free_queue.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_stream_mod_socket.h
./socket/shm_mod_socket.h
./socket/bus_server_socket_wrapper.h
./psem.h
./key_def.h
./bus_error.h
./svsem_util.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/lock_free_queue.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
  DESTINATION include)