Description and pre/post install scripts added for rpm build
[libcds.git] / tests / unit / map2 / CMakeLists.txt
1 set(PACKAGE_NAME cdsu-map)
2
3 set(CDSUNIT_MAP_SOURCES
4     map_find_int.cpp
5     map_find_int_bronsonavltree.cpp
6     map_find_int_cuckoo.cpp
7     map_find_int_ellentree.cpp
8     map_find_int_michael.cpp
9     map_find_int_feldmanhashmap.cpp
10     map_find_int_skip.cpp
11     map_find_int_split.cpp
12     map_find_int_striped.cpp
13     map_find_int_std.cpp
14     map_find_string.cpp
15     map_find_string_bronsonavltree.cpp
16     map_find_string_cuckoo.cpp
17     map_find_string_ellentree.cpp
18     map_find_string_michael.cpp
19     map_find_string_feldmanhashmap.cpp
20     map_find_string_skip.cpp
21     map_find_string_split.cpp
22     map_find_string_striped.cpp
23     map_find_string_std.cpp
24     map_insfind_int.cpp
25     map_insfind_int_bronsonavltree.cpp
26     map_insfind_int_cuckoo.cpp
27     map_insfind_int_ellentree.cpp
28     map_insfind_int_michael.cpp
29     map_insfind_int_skip.cpp
30     map_insfind_int_split.cpp
31     map_insfind_int_striped.cpp
32     map_insfind_int_std.cpp
33     map_insdel_func.cpp
34     map_insdel_func_bronsonavltree.cpp
35     map_insdel_func_cuckoo.cpp
36     map_insdel_func_ellentree.cpp
37     map_insdel_func_michael.cpp
38     map_insdel_func_feldmanhashmap.cpp
39     map_insdel_func_skip.cpp
40     map_insdel_func_split.cpp
41     map_insdel_func_striped.cpp
42     map_insdel_int.cpp
43     map_insdel_int_bronsonavltree.cpp
44     map_insdel_int_cuckoo.cpp
45     map_insdel_int_ellentree.cpp
46     map_insdel_int_michael.cpp
47     map_insdel_int_feldmanhashmap.cpp
48     map_insdel_int_skip.cpp
49     map_insdel_int_split.cpp
50     map_insdel_int_striped.cpp
51     map_insdel_int_std.cpp
52     map_insdel_item_int.cpp
53     map_insdel_item_int_bronsonavltree.cpp
54     map_insdel_item_int_cuckoo.cpp
55     map_insdel_item_int_ellentree.cpp
56     map_insdel_item_int_michael.cpp
57     map_insdel_item_int_feldmanhashmap.cpp
58     map_insdel_item_int_skip.cpp
59     map_insdel_item_int_split.cpp
60     map_insdel_item_int_striped.cpp
61     map_insdel_item_string.cpp
62     map_insdel_item_string_bronsonavltree.cpp
63     map_insdel_item_string_cuckoo.cpp
64     map_insdel_item_string_ellentree.cpp
65     map_insdel_item_string_michael.cpp
66     map_insdel_item_string_feldmanhashmap.cpp
67     map_insdel_item_string_skip.cpp
68     map_insdel_item_string_split.cpp
69     map_insdel_item_string_striped.cpp
70     map_insdel_string.cpp
71     map_insdel_string_bronsonavltree.cpp
72     map_insdel_string_cuckoo.cpp
73     map_insdel_string_ellentree.cpp
74     map_insdel_string_michael.cpp
75     map_insdel_string_feldmanhashmap.cpp
76     map_insdel_string_skip.cpp
77     map_insdel_string_split.cpp
78     map_insdel_string_striped.cpp
79     map_insdel_string_std.cpp
80     map_insdelfind.cpp
81     map_insdelfind_bronsonavltree.cpp
82     map_insdelfind_cuckoo.cpp
83     map_insdelfind_ellentree.cpp
84     map_insdelfind_michael.cpp
85     map_insdelfind_feldmanhashmap.cpp
86     map_insdelfind_skip.cpp
87     map_insdelfind_split.cpp
88     map_insdelfind_striped.cpp
89     map_insdelfind_std.cpp
90     map_delodd.cpp
91     map_delodd_bronsonavltree.cpp
92     map_delodd_cuckoo.cpp
93     map_delodd_ellentree.cpp
94     map_delodd_michael.cpp
95     map_delodd_feldmanhashmap.cpp
96     map_delodd_split.cpp
97     map_delodd_skip.cpp
98 )
99
100 add_executable(${PACKAGE_NAME} ${CDSUNIT_MAP_SOURCES} $<TARGET_OBJECTS:${TEST_COMMON}>)
101 target_link_libraries(${PACKAGE_NAME} ${CDS_SHARED_LIBRARY} ${Boost_THREAD_LIBRARY} ${Boost_SYSTEM_LIBRARY} ${CMAKE_THREAD_LIBS_INIT})
102 add_test(NAME ${PACKAGE_NAME} COMMAND ${PACKAGE_NAME})