|
1 | 1 | remove_definitions(-D__MPI) |
2 | 2 | install(DIRECTORY data DESTINATION ${CMAKE_CURRENT_BINARY_DIR}) |
3 | 3 | AddTest( |
4 | | - TARGET base_blas_connector |
| 4 | + TARGET MODULE_BASE_blas_connector |
5 | 5 | LIBS parameter ${math_libs} base device |
6 | 6 | SOURCES blas_connector_test.cpp |
7 | 7 | ) |
8 | 8 | AddTest( |
9 | | - TARGET base_atom_in |
| 9 | + TARGET MODULE_BASE_atom_in |
10 | 10 | LIBS parameter |
11 | 11 | SOURCES atom_in_test.cpp |
12 | 12 | ) |
13 | 13 | AddTest( |
14 | | - TARGET base_timer |
| 14 | + TARGET MODULE_BASE_timer |
15 | 15 | LIBS parameter |
16 | 16 | SOURCES timer_test.cpp ../timer.cpp ../global_variable.cpp |
17 | 17 | ) |
18 | 18 | AddTest( |
19 | | - TARGET base_tool_quit |
| 19 | + TARGET MODULE_BASE_tool_quit |
20 | 20 | LIBS parameter |
21 | 21 | SOURCES tool_quit_test.cpp ../tool_quit.cpp ../global_variable.cpp ../global_file.cpp ../global_function.cpp ../memory.cpp ../timer.cpp |
22 | 22 | ) |
23 | 23 | AddTest( |
24 | | - TARGET base_tool_check |
| 24 | + TARGET MODULE_BASE_tool_check |
25 | 25 | LIBS parameter |
26 | 26 | SOURCES tool_check_test.cpp ../tool_check.cpp ../tool_quit.cpp ../global_variable.cpp ../global_file.cpp ../global_function.cpp ../memory.cpp ../timer.cpp |
27 | 27 | ) |
28 | 28 | AddTest( |
29 | | - TARGET base_memory |
| 29 | + TARGET MODULE_BASE_memory |
30 | 30 | SOURCES memory_test.cpp ../memory.cpp ../parallel_reduce.cpp |
31 | 31 | ) |
32 | 32 | ADDTest( |
33 | | - TARGET base_global_function |
| 33 | + TARGET MODULE_BASE_global_function |
34 | 34 | LIBS parameter ${math_libs} |
35 | 35 | SOURCES global_function_test.cpp ../global_function.cpp ../tool_quit.cpp ../global_variable.cpp ../global_file.cpp ../memory.cpp ../timer.cpp |
36 | 36 | ) |
37 | 37 | AddTest( |
38 | | - TARGET base_vector3 |
| 38 | + TARGET MODULE_BASE_vector3 |
39 | 39 | LIBS parameter |
40 | 40 | SOURCES vector3_test.cpp |
41 | 41 | ) |
42 | 42 | AddTest( |
43 | | - TARGET base_matrix3 |
| 43 | + TARGET MODULE_BASE_matrix3 |
44 | 44 | LIBS parameter ${math_libs} base device |
45 | 45 | SOURCES matrix3_test.cpp |
46 | 46 | ) |
47 | 47 | AddTest( |
48 | | - TARGET base_intarray |
| 48 | + TARGET MODULE_BASE_intarray |
49 | 49 | LIBS parameter |
50 | 50 | SOURCES intarray_test.cpp ../intarray.cpp |
51 | 51 | ) |
52 | 52 | AddTest( |
53 | | - TARGET base_realarray |
| 53 | + TARGET MODULE_BASE_realarray |
54 | 54 | LIBS parameter |
55 | 55 | SOURCES realarray_test.cpp ../realarray.cpp |
56 | 56 | ) |
57 | 57 | AddTest( |
58 | | - TARGET base_matrix |
| 58 | + TARGET MODULE_BASE_matrix |
59 | 59 | LIBS parameter ${math_libs} base device |
60 | 60 | SOURCES matrix_test.cpp |
61 | 61 | ) |
62 | 62 | AddTest( |
63 | | - TARGET base_complexarray |
| 63 | + TARGET MODULE_BASE_complexarray |
64 | 64 | LIBS parameter |
65 | 65 | SOURCES complexarray_test.cpp ../complexarray.cpp ../tool_quit.cpp ../global_variable.cpp ../global_file.cpp ../global_function.cpp ../memory.cpp ../timer.cpp |
66 | 66 | ) |
67 | 67 | AddTest( |
68 | | - TARGET base_complexmatrix |
| 68 | + TARGET MODULE_BASE_complexmatrix |
69 | 69 | LIBS parameter ${math_libs} base device |
70 | 70 | SOURCES complexmatrix_test.cpp |
71 | 71 | ) |
72 | 72 | AddTest( |
73 | | - TARGET base_integral |
| 73 | + TARGET MODULE_BASE_integral |
74 | 74 | LIBS parameter |
75 | 75 | SOURCES math_integral_test.cpp ../math_integral.cpp |
76 | 76 | ) |
77 | 77 | AddTest( |
78 | | - TARGET base_sph_bessel_recursive |
| 78 | + TARGET MODULE_BASE_sph_bessel_recursive |
79 | 79 | LIBS parameter |
80 | 80 | SOURCES sph_bessel_recursive_test.cpp ../sph_bessel_recursive-d1.cpp ../sph_bessel_recursive-d2.cpp |
81 | 81 | ) |
82 | 82 | AddTest( |
83 | | - TARGET base_ylmreal |
| 83 | + TARGET MODULE_BASE_ylmreal |
84 | 84 | LIBS parameter ${math_libs} base device |
85 | 85 | SOURCES math_ylmreal_test.cpp ../libm/branred.cpp ../libm/sincos.cpp |
86 | 86 | ) |
87 | 87 | AddTest( |
88 | | - TARGET base_math_sphbes |
| 88 | + TARGET MODULE_BASE_math_sphbes |
89 | 89 | LIBS parameter |
90 | 90 | SOURCES math_sphbes_test.cpp ../math_sphbes.cpp ../timer.cpp |
91 | 91 | ) |
92 | 92 | AddTest( |
93 | | - TARGET base_mathzone |
| 93 | + TARGET MODULE_BASE_mathzone |
94 | 94 | LIBS parameter ${math_libs} base device |
95 | 95 | SOURCES mathzone_test.cpp |
96 | 96 | ) |
97 | 97 | AddTest( |
98 | | - TARGET base_mathzone_add1 |
| 98 | + TARGET MODULE_BASE_mathzone_add1 |
99 | 99 | LIBS parameter ${math_libs} base device |
100 | 100 | SOURCES mathzone_add1_test.cpp |
101 | 101 | ) |
102 | 102 | AddTest( |
103 | | - TARGET base_math_polyint |
| 103 | + TARGET MODULE_BASE_math_polyint |
104 | 104 | LIBS parameter |
105 | 105 | SOURCES math_polyint_test.cpp ../math_polyint.cpp ../realarray.cpp ../timer.cpp |
106 | 106 | ) |
107 | 107 | AddTest( |
108 | | - TARGET base_gram_schmidt_orth |
| 108 | + TARGET MODULE_BASE_gram_schmidt_orth |
109 | 109 | LIBS parameter ${math_libs} base device |
110 | 110 | SOURCES gram_schmidt_orth_test.cpp |
111 | 111 | ) |
112 | 112 | AddTest( |
113 | | - TARGET base_math_bspline |
| 113 | + TARGET MODULE_BASE_math_bspline |
114 | 114 | LIBS parameter |
115 | 115 | SOURCES math_bspline_test.cpp ../math_bspline.cpp |
116 | 116 | ) |
117 | 117 | AddTest( |
118 | | - TARGET base_inverse_matrix |
| 118 | + TARGET MODULE_BASE_inverse_matrix |
119 | 119 | LIBS parameter ${math_libs} base device |
120 | 120 | SOURCES inverse_matrix_test.cpp |
121 | 121 | ) |
122 | 122 | AddTest( |
123 | | - TARGET base_mymath |
| 123 | + TARGET MODULE_BASE_mymath |
124 | 124 | LIBS parameter |
125 | 125 | SOURCES mymath_test.cpp ../mymath.cpp ../timer.cpp |
126 | 126 | ) |
127 | 127 | AddTest( |
128 | | - TARGET base_container |
| 128 | + TARGET MODULE_BASE_container |
129 | 129 | LIBS parameter |
130 | 130 | SOURCES container_operator_test.cpp ../container_operator.h |
131 | 131 | ) |
132 | 132 |
|
133 | 133 | AddTest( |
134 | | - TARGET base_math_chebyshev |
| 134 | + TARGET MODULE_BASE_math_chebyshev |
135 | 135 | LIBS parameter ${math_libs} base device container |
136 | 136 | SOURCES math_chebyshev_test.cpp |
137 | 137 | ) |
138 | 138 |
|
139 | 139 | AddTest( |
140 | | - TARGET base_lapack_connector |
| 140 | + TARGET MODULE_BASE_lapack_connector |
141 | 141 | LIBS parameter ${math_libs} base device |
142 | 142 | SOURCES lapack_connector_test.cpp |
143 | 143 | ) |
144 | 144 |
|
145 | 145 | AddTest( |
146 | | - TARGET base_opt_CG |
| 146 | + TARGET MODULE_BASE_opt_CG |
147 | 147 | LIBS parameter ${math_libs} base device |
148 | 148 | SOURCES opt_CG_test.cpp opt_test_tools.cpp |
149 | 149 | ) |
150 | 150 |
|
151 | 151 | AddTest( |
152 | | - TARGET base_opt_TN |
| 152 | + TARGET MODULE_BASE_opt_TN |
153 | 153 | LIBS parameter ${math_libs} base device |
154 | 154 | SOURCES opt_TN_test.cpp opt_test_tools.cpp |
155 | 155 | ) |
156 | 156 |
|
157 | 157 | AddTest( |
158 | | - TARGET base_ylm |
| 158 | + TARGET MODULE_BASE_ylm |
159 | 159 | LIBS parameter |
160 | 160 | SOURCES ylm_test.cpp ../ylm.cpp ../timer.cpp ../tool_quit.cpp ../global_variable.cpp ../global_file.cpp ../global_function.cpp ../memory.cpp |
161 | 161 | ) |
162 | 162 |
|
163 | 163 | AddTest( |
164 | | - TARGET base_abfs-vector3_order |
| 164 | + TARGET MODULE_BASE_abfs-vector3_order |
165 | 165 | LIBS parameter |
166 | 166 | SOURCES abfs-vector3_order_test.cpp ../abfs-vector3_order.cpp |
167 | 167 | ) |
168 | 168 |
|
169 | 169 | AddTest( |
170 | | - TARGET base_global_file |
| 170 | + TARGET MODULE_BASE_global_file |
171 | 171 | LIBS parameter |
172 | 172 | SOURCES global_file_test.cpp ../global_file.cpp ../global_function.cpp ../tool_quit.cpp ../global_variable.cpp ../memory.cpp ../timer.cpp |
173 | 173 | ) |
174 | 174 |
|
175 | 175 | AddTest( |
176 | | - TARGET base_tool_title |
| 176 | + TARGET MODULE_BASE_tool_title |
177 | 177 | LIBS parameter |
178 | 178 | SOURCES tool_title_test.cpp ../tool_title.cpp ../global_variable.cpp ../global_function.cpp ../timer.cpp ../tool_quit.cpp ../global_file.cpp ../memory.cpp |
179 | 179 | ) |
180 | 180 |
|
181 | 181 | AddTest( |
182 | | - TARGET base_element_basis_index |
| 182 | + TARGET MODULE_BASE_element_basis_index |
183 | 183 | LIBS parameter |
184 | 184 | SOURCES element_basis_index_test.cpp ../element_basis_index.cpp |
185 | 185 | ) |
186 | 186 |
|
187 | 187 | AddTest( |
188 | | - TARGET base_tool_threading |
| 188 | + TARGET MODULE_BASE_tool_threading |
189 | 189 | LIBS parameter |
190 | 190 | SOURCES tool_threading_test.cpp ../tool_threading.h |
191 | 191 | ) |
192 | 192 |
|
193 | 193 | AddTest( |
194 | | - TARGET spherical_bessel_transformer |
| 194 | + TARGET MODULE_BASE_spherical_bessel_transformer |
195 | 195 | SOURCES spherical_bessel_transformer_test.cpp |
196 | 196 | LIBS parameter ${math_libs} base device |
197 | 197 | ) |
198 | 198 |
|
199 | 199 | AddTest( |
200 | | - TARGET cubic_spline |
| 200 | + TARGET MODULE_BASE_cubic_spline |
201 | 201 | SOURCES cubic_spline_test.cpp |
202 | 202 | LIBS parameter ${math_libs} base device |
203 | 203 | ) |
204 | 204 |
|
205 | 205 | AddTest( |
206 | | - TARGET clebsch_gordan_coeff_test |
| 206 | + TARGET MODULE_BASE_clebsch_gordan_coeff_test |
207 | 207 | SOURCES clebsch_gordan_coeff_test.cpp |
208 | 208 | LIBS parameter ${math_libs} base device |
209 | 209 | ) |
210 | 210 |
|
211 | 211 | AddTest( |
212 | | - TARGET assoc_laguerre_test |
| 212 | + TARGET MODULE_BASE_assoc_laguerre_test |
213 | 213 | SOURCES assoc_laguerre_test.cpp |
214 | 214 | LIBS parameter ${math_libs} base device |
215 | 215 | ) |
216 | 216 |
|
217 | 217 | AddTest( |
218 | | - TARGET ndarray_test |
| 218 | + TARGET MODULE_BASE_ndarray_test |
219 | 219 | LIBS parameter |
220 | 220 | SOURCES ndarray_test.cpp |
221 | 221 | ) |
222 | 222 |
|
223 | 223 | AddTest( |
224 | | - TARGET formatter_test |
| 224 | + TARGET MODULE_BASE_formatter_test |
225 | 225 | LIBS parameter |
226 | 226 | SOURCES formatter_test.cpp |
227 | 227 | ) |
228 | 228 |
|
229 | 229 | AddTest( |
230 | | - TARGET lebedev_laikov |
| 230 | + TARGET MODULE_BASE_lebedev_laikov |
231 | 231 | SOURCES test_lebedev_laikov.cpp ../ylm.cpp ../math_lebedev_laikov.cpp |
232 | 232 | ) |
233 | 233 |
|
234 | 234 | if(ENABLE_GOOGLEBENCH) |
235 | 235 | AddTest( |
236 | | - TARGET perf_sphbes |
| 236 | + TARGET MODULE_BASE_perf_sphbes |
237 | 237 | LIBS parameter |
238 | 238 | SOURCES perf_sphbes_test.cpp ../math_sphbes.cpp ../timer.cpp |
239 | 239 | ) |
|
0 commit comments