blob: 81a7607baab123c67f66ef28017eb0c8e9c0863f (
plain)
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
|
# SPDX-License-Identifier: Apache-2.0
# Copyright 2011-2022 Blender Foundation
set(INC
..
../../glew-mx
)
set(INC_SYS
)
set(SRC
aligned_malloc.cpp
debug.cpp
ies.cpp
log.cpp
math_cdf.cpp
md5.cpp
murmurhash.cpp
path.cpp
profiling.cpp
string.cpp
simd.cpp
system.cpp
task.cpp
thread.cpp
time.cpp
transform.cpp
transform_avx2.cpp
transform_sse41.cpp
windows.cpp
)
set(LIB
${TBB_LIBRARIES}
)
set(SRC_HEADERS
algorithm.h
aligned_malloc.h
args.h
array.h
atomic.h
boundbox.h
debug.h
defines.h
deque.h
disjoint_set.h
guarded_allocator.cpp
foreach.h
function.h
guarded_allocator.h
half.h
hash.h
ies.h
image.h
image_impl.h
list.h
log.h
map.h
math.h
math_cdf.h
math_fast.h
math_intersect.h
math_float2.h
math_float3.h
math_float4.h
math_float8.h
math_int2.h
math_int3.h
math_int4.h
math_matrix.h
md5.h
murmurhash.h
openimagedenoise.h
opengl.h
openvdb.h
optimization.h
param.h
path.h
profiling.h
progress.h
projection.h
queue.h
rect.h
set.h
simd.h
avxf.h
avxb.h
avxi.h
semaphore.h
sseb.h
ssef.h
ssei.h
stack_allocator.h
static_assert.h
stats.h
string.h
system.h
task.h
tbb.h
texture.h
thread.h
time.h
transform.h
types.h
types_float2.h
types_float2_impl.h
types_float3.h
types_float3_impl.h
types_float4.h
types_float4_impl.h
types_float8.h
types_float8_impl.h
types_int2.h
types_int2_impl.h
types_int3.h
types_int3_impl.h
types_int4.h
types_int4_impl.h
types_spectrum.h
types_uchar2.h
types_uchar2_impl.h
types_uchar3.h
types_uchar3_impl.h
types_uchar4.h
types_uchar4_impl.h
types_uint2.h
types_uint2_impl.h
types_uint3.h
types_uint3_impl.h
types_uint4.h
types_uint4_impl.h
types_ushort4.h
unique_ptr.h
vector.h
version.h
windows.h
xml.h
)
if(CXX_HAS_SSE)
set_source_files_properties(transform_sse41.cpp PROPERTIES COMPILE_FLAGS "${CYCLES_SSE41_KERNEL_FLAGS}")
endif()
if(CXX_HAS_AVX2)
set_source_files_properties(transform_avx2.cpp PROPERTIES COMPILE_FLAGS "${CYCLES_AVX2_KERNEL_FLAGS}")
endif()
include_directories(${INC})
include_directories(SYSTEM ${INC_SYS})
add_definitions(${GL_DEFINITIONS})
cycles_add_library(cycles_util "${LIB}" ${SRC} ${SRC_HEADERS})
|