1 set(PACKAGE_NAME unit-queue)
3 set(CDSGTEST_QUEUE_SOURCES
12 optimistic_queue_hp.cpp
13 optimistic_queue_dhp.cpp
15 segmented_queue_hp.cpp
16 segmented_queue_dhp.cpp
19 intrusive_basket_queue_hp.cpp
20 intrusive_basket_queue_dhp.cpp
22 intrusive_msqueue_hp.cpp
23 intrusive_msqueue_dhp.cpp
24 intrusive_moirqueue_hp.cpp
25 intrusive_moirqueue_dhp.cpp
26 intrusive_optqueue_hp.cpp
27 intrusive_optqueue_dhp.cpp
28 intrusive_segmented_queue_hp.cpp
29 intrusive_segmented_queue_dhp.cpp
33 ${CMAKE_CURRENT_SOURCE_DIR}
36 add_executable(${PACKAGE_NAME} ${CDSGTEST_QUEUE_SOURCES})
37 target_link_libraries(${PACKAGE_NAME}
40 ${Boost_THREAD_LIBRARY}
41 ${Boost_SYSTEM_LIBRARY}
42 ${CMAKE_THREAD_LIBS_INIT}
45 add_test(NAME ${PACKAGE_NAME} COMMAND ${PACKAGE_NAME} WORKING_DIRECTORY ${EXECUTABLE_OUTPUT_PATH})