wangzhengquan
2021-02-08 18705acc13f78ac65458b3dd832545e62fbc9172
src/CMakeLists.txt
@@ -13,7 +13,6 @@
./socket/shm_socket.cpp
./socket/shm_mod_socket.cpp
./time_util.cpp
./psem.cpp
./bus_error.cpp
./futex_sem.cpp
./svsem.cpp
@@ -28,8 +27,13 @@
./shm/hashtable.cpp
)
if (BUILD_SHARED_LIBS)
  add_library(shm_queue SHARED ${_SOURCES_})
else()
 add_library(shm_queue STATIC ${_SOURCES_})
endif()
add_library(shm_queue ${_SOURCES_})
#add_library(shm_queue ${_SOURCES_})
target_include_directories(shm_queue PUBLIC ${EXTRA_INCLUDES} )
@@ -46,7 +50,7 @@
target_link_libraries(shm_queue PUBLIC  ${EXTRA_LIBS} )
# install rules
install(TARGETS shm_queue DESTINATION lib)
install(TARGETS shm_queue  DESTINATION lib)
install(FILES 
  ./socket/socket_def.h
  ./socket/bus_server_socket.h
@@ -59,6 +63,7 @@
  ./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