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
16 intrusive_michael_rcu_sht.cpp
18 add_executable(${UNIT_ILIST_MICHAEL} ${UNIT_ILIST_MICHAEL_SOURCES})
19 target_link_libraries(${UNIT_ILIST_MICHAEL}
22 ${Boost_THREAD_LIBRARY}
23 ${Boost_SYSTEM_LIBRARY}
24 ${CMAKE_THREAD_LIBS_INIT}
26 add_test(NAME ${UNIT_ILIST_MICHAEL} COMMAND ${UNIT_ILIST_MICHAEL} WORKING_DIRECTORY ${EXECUTABLE_OUTPUT_PATH})
29 set(UNIT_ILIST_LAZY unit-ilist-lazy)
30 set(UNIT_ILIST_LAZY_SOURCES
33 intrusive_lazy_dhp.cpp
34 intrusive_lazy_nogc.cpp
35 intrusive_lazy_rcu_gpb.cpp
36 intrusive_lazy_rcu_gpi.cpp
37 intrusive_lazy_rcu_gpt.cpp
38 intrusive_lazy_rcu_shb.cpp
39 intrusive_lazy_rcu_sht.cpp
41 add_executable(${UNIT_ILIST_LAZY} ${UNIT_ILIST_LAZY_SOURCES})
42 target_link_libraries(${UNIT_ILIST_LAZY}
45 ${Boost_THREAD_LIBRARY}
46 ${Boost_SYSTEM_LIBRARY}
47 ${CMAKE_THREAD_LIBS_INIT}
49 add_test(NAME ${UNIT_ILIST_LAZY} COMMAND ${UNIT_ILIST_LAZY} WORKING_DIRECTORY ${EXECUTABLE_OUTPUT_PATH})
51 # intrusive::IterableList
52 set(UNIT_ILIST_ITERABLE unit-ilist-iterable)
53 set(UNIT_ILIST_ITERABLE_SOURCES
55 intrusive_iterable_hp.cpp
56 intrusive_iterable_dhp.cpp
58 add_executable(${UNIT_ILIST_ITERABLE} ${UNIT_ILIST_ITERABLE_SOURCES})
59 target_link_libraries(${UNIT_ILIST_ITERABLE}
62 ${Boost_THREAD_LIBRARY}
63 ${Boost_SYSTEM_LIBRARY}
64 ${CMAKE_THREAD_LIBS_INIT}
66 add_test(NAME ${UNIT_ILIST_ITERABLE} COMMAND ${UNIT_ILIST_ITERABLE} WORKING_DIRECTORY ${EXECUTABLE_OUTPUT_PATH})
69 add_custom_target( unit-ilist
71 ${UNIT_ILIST_ITERABLE}