2 ${CMAKE_CURRENT_SOURCE_DIR}
5 # intrusive::MichaelList
6 set(UNIT_ILIST_MICHAEL unit-ilist-michael)
7 set(UNIT_ILIST_MICHAEL_SOURCES
9 intrusive_michael_hp.cpp
10 intrusive_michael_dhp.cpp
11 intrusive_michael_nogc.cpp
12 intrusive_michael_rcu_gpb.cpp
13 intrusive_michael_rcu_gpi.cpp
14 intrusive_michael_rcu_gpt.cpp
15 intrusive_michael_rcu_shb.cpp
17 add_executable(${UNIT_ILIST_MICHAEL} ${UNIT_ILIST_MICHAEL_SOURCES})
18 target_link_libraries(${UNIT_ILIST_MICHAEL} ${CDS_TEST_LIBRARIES})
20 add_test(NAME ${UNIT_ILIST_MICHAEL} COMMAND ${UNIT_ILIST_MICHAEL} WORKING_DIRECTORY ${EXECUTABLE_OUTPUT_PATH})
23 set(UNIT_ILIST_LAZY unit-ilist-lazy)
24 set(UNIT_ILIST_LAZY_SOURCES
27 intrusive_lazy_dhp.cpp
28 intrusive_lazy_nogc.cpp
29 intrusive_lazy_rcu_gpb.cpp
30 intrusive_lazy_rcu_gpi.cpp
31 intrusive_lazy_rcu_gpt.cpp
32 intrusive_lazy_rcu_shb.cpp
34 add_executable(${UNIT_ILIST_LAZY} ${UNIT_ILIST_LAZY_SOURCES})
35 target_link_libraries(${UNIT_ILIST_LAZY} ${CDS_TEST_LIBRARIES})
36 add_test(NAME ${UNIT_ILIST_LAZY} COMMAND ${UNIT_ILIST_LAZY} WORKING_DIRECTORY ${EXECUTABLE_OUTPUT_PATH})
38 # intrusive::IterableList
39 set(UNIT_ILIST_ITERABLE unit-ilist-iterable)
40 set(UNIT_ILIST_ITERABLE_SOURCES
42 intrusive_iterable_hp.cpp
43 intrusive_iterable_dhp.cpp
45 add_executable(${UNIT_ILIST_ITERABLE} ${UNIT_ILIST_ITERABLE_SOURCES})
46 target_link_libraries(${UNIT_ILIST_ITERABLE} ${CDS_TEST_LIBRARIES})
47 add_test(NAME ${UNIT_ILIST_ITERABLE} COMMAND ${UNIT_ILIST_ITERABLE} WORKING_DIRECTORY ${EXECUTABLE_OUTPUT_PATH})
50 add_custom_target( unit-ilist
52 ${UNIT_ILIST_ITERABLE}