-
Notifications
You must be signed in to change notification settings - Fork 9
/
ccmath_core_headers.cmake
282 lines (217 loc) · 12 KB
/
ccmath_core_headers.cmake
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
##############################################################################
# Math Section
##############################################################################
### Basic/Impl headers
##########################################
set(ccmath_math_basic_impl_headers
${CMAKE_CURRENT_SOURCE_DIR}/include/ccmath/math/basic/impl/nan_float_impl.hpp
${CMAKE_CURRENT_SOURCE_DIR}/include/ccmath/math/basic/impl/nan_double_impl.hpp
${CMAKE_CURRENT_SOURCE_DIR}/include/ccmath/math/basic/impl/nan_ldouble_impl.hpp
${CMAKE_CURRENT_SOURCE_DIR}/include/ccmath/math/basic/impl/remquo_float_impl.hpp
${CMAKE_CURRENT_SOURCE_DIR}/include/ccmath/math/basic/impl/remquo_double_impl.hpp
)
#######################################
## Basic headers
#######################################
set(ccmath_math_basic_headers
${ccmath_math_basic_impl_headers}
${CMAKE_CURRENT_SOURCE_DIR}/include/ccmath/math/basic/abs.hpp
${CMAKE_CURRENT_SOURCE_DIR}/include/ccmath/math/basic/fdim.hpp
${CMAKE_CURRENT_SOURCE_DIR}/include/ccmath/math/basic/fma.hpp
${CMAKE_CURRENT_SOURCE_DIR}/include/ccmath/math/basic/fmod.hpp
${CMAKE_CURRENT_SOURCE_DIR}/include/ccmath/math/basic/max.hpp
${CMAKE_CURRENT_SOURCE_DIR}/include/ccmath/math/basic/min.hpp
${CMAKE_CURRENT_SOURCE_DIR}/include/ccmath/math/basic/remainder.hpp
${CMAKE_CURRENT_SOURCE_DIR}/include/ccmath/math/basic/remquo.hpp
)
#######################################
## Compare headers
#######################################
set(ccmath_math_compare_headers
${CMAKE_CURRENT_SOURCE_DIR}/include/ccmath/math/compare/fpclassify.hpp
${CMAKE_CURRENT_SOURCE_DIR}/include/ccmath/math/compare/isfinite.hpp
${CMAKE_CURRENT_SOURCE_DIR}/include/ccmath/math/compare/isgreater.hpp
${CMAKE_CURRENT_SOURCE_DIR}/include/ccmath/math/compare/isgreaterequal.hpp
${CMAKE_CURRENT_SOURCE_DIR}/include/ccmath/math/compare/isinf.hpp
${CMAKE_CURRENT_SOURCE_DIR}/include/ccmath/math/compare/isless.hpp
${CMAKE_CURRENT_SOURCE_DIR}/include/ccmath/math/compare/islessequal.hpp
${CMAKE_CURRENT_SOURCE_DIR}/include/ccmath/math/compare/islessgreater.hpp
${CMAKE_CURRENT_SOURCE_DIR}/include/ccmath/math/compare/isnan.hpp
${CMAKE_CURRENT_SOURCE_DIR}/include/ccmath/math/compare/isnormal.hpp
${CMAKE_CURRENT_SOURCE_DIR}/include/ccmath/math/compare/isunordered.hpp
${CMAKE_CURRENT_SOURCE_DIR}/include/ccmath/math/compare/signbit.hpp
)
### Exponential/Impl headers
##########################################
set(ccmath_math_exponential_impl_headers
${CMAKE_CURRENT_SOURCE_DIR}/include/ccmath/math/exponential/impl/exp_float_impl.hpp
${CMAKE_CURRENT_SOURCE_DIR}/include/ccmath/math/exponential/impl/exp_double_impl.hpp
${CMAKE_CURRENT_SOURCE_DIR}/include/ccmath/math/exponential/impl/exp_data.hpp
${CMAKE_CURRENT_SOURCE_DIR}/include/ccmath/math/exponential/impl/exp2_float_impl.hpp
${CMAKE_CURRENT_SOURCE_DIR}/include/ccmath/math/exponential/impl/exp2_double_impl.hpp
${CMAKE_CURRENT_SOURCE_DIR}/include/ccmath/math/exponential/impl/exp2_data.hpp
${CMAKE_CURRENT_SOURCE_DIR}/include/ccmath/math/exponential/impl/log_float_impl.hpp
${CMAKE_CURRENT_SOURCE_DIR}/include/ccmath/math/exponential/impl/log_double_impl.hpp
${CMAKE_CURRENT_SOURCE_DIR}/include/ccmath/math/exponential/impl/log_data.hpp
${CMAKE_CURRENT_SOURCE_DIR}/include/ccmath/math/exponential/impl/log2_float_impl.hpp
${CMAKE_CURRENT_SOURCE_DIR}/include/ccmath/math/exponential/impl/log2_double_impl.hpp
${CMAKE_CURRENT_SOURCE_DIR}/include/ccmath/math/exponential/impl/log2_data.hpp
)
#######################################
## Exponential headers
#######################################
set(ccmath_math_exponential_headers
${ccmath_math_exponential_impl_headers}
${CMAKE_CURRENT_SOURCE_DIR}/include/ccmath/math/exponential/exp.hpp
${CMAKE_CURRENT_SOURCE_DIR}/include/ccmath/math/exponential/exp2.hpp
${CMAKE_CURRENT_SOURCE_DIR}/include/ccmath/math/exponential/expm1.hpp
${CMAKE_CURRENT_SOURCE_DIR}/include/ccmath/math/exponential/log.hpp
${CMAKE_CURRENT_SOURCE_DIR}/include/ccmath/math/exponential/log1p.hpp
${CMAKE_CURRENT_SOURCE_DIR}/include/ccmath/math/exponential/log2.hpp
${CMAKE_CURRENT_SOURCE_DIR}/include/ccmath/math/exponential/log10.hpp
)
### Fmanip/Impl headers
##########################################
set(ccmath_math_fmanip_impl_headers
${CMAKE_CURRENT_SOURCE_DIR}/include/ccmath/math/fmanip/impl/modf_float_impl.hpp
${CMAKE_CURRENT_SOURCE_DIR}/include/ccmath/math/fmanip/impl/modf_double_impl.hpp
${CMAKE_CURRENT_SOURCE_DIR}/include/ccmath/math/fmanip/impl/scalbn_float_impl.hpp
${CMAKE_CURRENT_SOURCE_DIR}/include/ccmath/math/fmanip/impl/scalbn_double_impl.hpp
${CMAKE_CURRENT_SOURCE_DIR}/include/ccmath/math/fmanip/impl/scalbn_ldouble_impl.hpp
)
#######################################
## Fmanip headers
#######################################
set(ccmath_math_fmanip_headers
${ccmath_math_fmanip_impl_headers}
${CMAKE_CURRENT_SOURCE_DIR}/include/ccmath/math/fmanip/copysign.hpp
${CMAKE_CURRENT_SOURCE_DIR}/include/ccmath/math/fmanip/frexp.hpp
${CMAKE_CURRENT_SOURCE_DIR}/include/ccmath/math/fmanip/ilogb.hpp
${CMAKE_CURRENT_SOURCE_DIR}/include/ccmath/math/fmanip/ldexp.hpp
${CMAKE_CURRENT_SOURCE_DIR}/include/ccmath/math/fmanip/logb.hpp
${CMAKE_CURRENT_SOURCE_DIR}/include/ccmath/math/fmanip/modf.hpp
${CMAKE_CURRENT_SOURCE_DIR}/include/ccmath/math/fmanip/nextafter.hpp
${CMAKE_CURRENT_SOURCE_DIR}/include/ccmath/math/fmanip/nexttoward.hpp
${CMAKE_CURRENT_SOURCE_DIR}/include/ccmath/math/fmanip/scalbn.hpp
)
#######################################
## Hyperbolic headers
#######################################
set(ccmath_math_hyperbolic_headers
${CMAKE_CURRENT_SOURCE_DIR}/include/ccmath/math/hyperbolic/acosh.hpp
${CMAKE_CURRENT_SOURCE_DIR}/include/ccmath/math/hyperbolic/asinh.hpp
${CMAKE_CURRENT_SOURCE_DIR}/include/ccmath/math/hyperbolic/atanh.hpp
${CMAKE_CURRENT_SOURCE_DIR}/include/ccmath/math/hyperbolic/cosh.hpp
${CMAKE_CURRENT_SOURCE_DIR}/include/ccmath/math/hyperbolic/sinh.hpp
${CMAKE_CURRENT_SOURCE_DIR}/include/ccmath/math/hyperbolic/tanh.hpp
)
#######################################
## Nearest headers
#######################################
set(ccmath_detail_nearest_headers
${CMAKE_CURRENT_SOURCE_DIR}/include/ccmath/math/nearest/ceil.hpp
${CMAKE_CURRENT_SOURCE_DIR}/include/ccmath/math/nearest/floor.hpp
${CMAKE_CURRENT_SOURCE_DIR}/include/ccmath/math/nearest/nearbyint.hpp
${CMAKE_CURRENT_SOURCE_DIR}/include/ccmath/math/nearest/rint.hpp
${CMAKE_CURRENT_SOURCE_DIR}/include/ccmath/math/nearest/round.hpp
${CMAKE_CURRENT_SOURCE_DIR}/include/ccmath/math/nearest/trunc.hpp
)
### Power/Impl headers - TODO: Remove this an instead use the generic power headers
##########################################
set(ccmath_math_power_impl_headers
${CMAKE_CURRENT_SOURCE_DIR}/include/ccmath/math/power/impl/pow_impl.hpp
)
#######################################
## Power headers
#######################################
set(ccmath_math_power_headers
${ccmath_math_power_impl_headers}
${CMAKE_CURRENT_SOURCE_DIR}/include/ccmath/math/power/cbrt.hpp
${CMAKE_CURRENT_SOURCE_DIR}/include/ccmath/math/power/hypot.hpp
${CMAKE_CURRENT_SOURCE_DIR}/include/ccmath/math/power/pow.hpp
${CMAKE_CURRENT_SOURCE_DIR}/include/ccmath/math/power/sqrt.hpp
)
#######################################
## Special headers
#######################################
set(ccmath_math_special_headers
${CMAKE_CURRENT_SOURCE_DIR}/include/ccmath/math/special/assoc_laguerre.hpp
${CMAKE_CURRENT_SOURCE_DIR}/include/ccmath/math/special/assoc_legendre.hpp
${CMAKE_CURRENT_SOURCE_DIR}/include/ccmath/math/special/beta.hpp
${CMAKE_CURRENT_SOURCE_DIR}/include/ccmath/math/special/comp_ellint_1.hpp
${CMAKE_CURRENT_SOURCE_DIR}/include/ccmath/math/special/comp_ellint_2.hpp
${CMAKE_CURRENT_SOURCE_DIR}/include/ccmath/math/special/comp_ellint_3.hpp
${CMAKE_CURRENT_SOURCE_DIR}/include/ccmath/math/special/cyl_bessel_i.hpp
${CMAKE_CURRENT_SOURCE_DIR}/include/ccmath/math/special/cyl_bessel_j.hpp
${CMAKE_CURRENT_SOURCE_DIR}/include/ccmath/math/special/cyl_bessel_k.hpp
${CMAKE_CURRENT_SOURCE_DIR}/include/ccmath/math/special/cyl_neumann.hpp
${CMAKE_CURRENT_SOURCE_DIR}/include/ccmath/math/special/ellint_1.hpp
${CMAKE_CURRENT_SOURCE_DIR}/include/ccmath/math/special/ellint_2.hpp
${CMAKE_CURRENT_SOURCE_DIR}/include/ccmath/math/special/ellint_3.hpp
${CMAKE_CURRENT_SOURCE_DIR}/include/ccmath/math/special/expint.hpp
${CMAKE_CURRENT_SOURCE_DIR}/include/ccmath/math/special/hermite.hpp
${CMAKE_CURRENT_SOURCE_DIR}/include/ccmath/math/special/laguerre.hpp
${CMAKE_CURRENT_SOURCE_DIR}/include/ccmath/math/special/legendre.hpp
${CMAKE_CURRENT_SOURCE_DIR}/include/ccmath/math/special/riemann_zeta.hpp
${CMAKE_CURRENT_SOURCE_DIR}/include/ccmath/math/special/sph_bessel.hpp
${CMAKE_CURRENT_SOURCE_DIR}/include/ccmath/math/special/sph_legendre.hpp
${CMAKE_CURRENT_SOURCE_DIR}/include/ccmath/math/special/sph_neumann.hpp
)
#######################################
## Trig headers
#######################################
set(ccmath_math_trig_headers
${CMAKE_CURRENT_SOURCE_DIR}/include/ccmath/math/trig/acos.hpp
${CMAKE_CURRENT_SOURCE_DIR}/include/ccmath/math/trig/asin.hpp
${CMAKE_CURRENT_SOURCE_DIR}/include/ccmath/math/trig/atan.hpp
${CMAKE_CURRENT_SOURCE_DIR}/include/ccmath/math/trig/atan2.hpp
${CMAKE_CURRENT_SOURCE_DIR}/include/ccmath/math/trig/cos.hpp
${CMAKE_CURRENT_SOURCE_DIR}/include/ccmath/math/trig/sin.hpp
${CMAKE_CURRENT_SOURCE_DIR}/include/ccmath/math/trig/tan.hpp
)
#######################################
## Math headers (root)
#######################################
set(ccmath_math_misc_headers
# func without a specified category
${CMAKE_CURRENT_SOURCE_DIR}/include/ccmath/math/misc/gamma.hpp
${CMAKE_CURRENT_SOURCE_DIR}/include/ccmath/math/misc/lerp.hpp
${CMAKE_CURRENT_SOURCE_DIR}/include/ccmath/math/misc/lgamma.hpp
)
set(ccmath_math_headers
${ccmath_math_basic_headers}
${ccmath_math_compare_headers}
${ccmath_math_exponential_headers}
${ccmath_math_fmanip_headers}
${ccmath_math_hyperbolic_headers}
${ccmath_math_nearest_headers}
${ccmath_math_power_headers}
${ccmath_math_trig_headers}
${ccmath_math_misc_headers}
)
##############################################################################
# Root Section
##############################################################################
#######################################
## CCMath headers Monolithic Headers
#######################################
set(ccmath_monolithic_headers
${CMAKE_CURRENT_SOURCE_DIR}/include/ccmath/math/basic.hpp
${CMAKE_CURRENT_SOURCE_DIR}/include/ccmath/math/compare.hpp
${CMAKE_CURRENT_SOURCE_DIR}/include/ccmath/math/exponential.hpp
${CMAKE_CURRENT_SOURCE_DIR}/include/ccmath/math/fmanip.hpp
${CMAKE_CURRENT_SOURCE_DIR}/include/ccmath/math/hyperbolic.hpp
${CMAKE_CURRENT_SOURCE_DIR}/include/ccmath/math/nearest.hpp
${CMAKE_CURRENT_SOURCE_DIR}/include/ccmath/math/power.hpp
${CMAKE_CURRENT_SOURCE_DIR}/include/ccmath/math/special.hpp
${CMAKE_CURRENT_SOURCE_DIR}/include/ccmath/math/trig.hpp
${CMAKE_CURRENT_SOURCE_DIR}/include/ccmath/math/numbers.hpp
${CMAKE_CURRENT_SOURCE_DIR}/include/ccmath/ccmath.hpp
)
#######################################
## CCMath headers (base) - all headers
#######################################
set(ccmath_core_headers
${ccmath_math_headers}
${ccmath_monolithic_headers}
)