Welcome to mirror list, hosted at ThFree Co, Russian Federation.

CMakeLists.txt « util « cycles « intern - git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 18e14913884c68f1d268f748bf2d552988a741d6 (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
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
# Copyright 2011-2020 Blender Foundation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

set(INC
  ..
  ../../glew-mx
)

set(INC_SYS
  ${GLEW_INCLUDE_DIR}
)

set(SRC
  util_aligned_malloc.cpp
  util_debug.cpp
  util_ies.cpp
  util_logging.cpp
  util_math_cdf.cpp
  util_md5.cpp
  util_murmurhash.cpp
  util_path.cpp
  util_profiling.cpp
  util_string.cpp
  util_simd.cpp
  util_system.cpp
  util_task.cpp
  util_thread.cpp
  util_time.cpp
  util_transform.cpp
  util_windows.cpp
)

set(LIB
  ${TBB_LIBRARIES}
)

if(WITH_CYCLES_STANDALONE)
  if(WITH_CYCLES_STANDALONE_GUI)
    list(APPEND SRC
      util_view.cpp
    )
  endif()
endif()

if(CYCLES_STANDALONE_REPOSITORY)
  list(APPEND INC_SYS
    ../../third_party/numaapi/include
  )
else()
  list(APPEND INC_SYS
    ../../numaapi/include
  )
endif()

set(SRC_HEADERS
  util_algorithm.h
  util_aligned_malloc.h
  util_args.h
  util_array.h
  util_atomic.h
  util_boundbox.h
  util_debug.h
  util_defines.h
  util_deque.h
  util_disjoint_set.h
  util_guarded_allocator.cpp
  util_foreach.h
  util_function.h
  util_guarded_allocator.h
  util_half.h
  util_hash.h
  util_ies.h
  util_image.h
  util_image_impl.h
  util_list.h
  util_logging.h
  util_map.h
  util_math.h
  util_math_cdf.h
  util_math_fast.h
  util_math_intersect.h
  util_math_float2.h
  util_math_float3.h
  util_math_float4.h
  util_math_int2.h
  util_math_int3.h
  util_math_int4.h
  util_math_matrix.h
  util_md5.h
  util_murmurhash.h
  util_openimagedenoise.h
  util_opengl.h
  util_openvdb.h
  util_optimization.h
  util_param.h
  util_path.h
  util_profiling.h
  util_progress.h
  util_projection.h
  util_queue.h
  util_rect.h
  util_set.h
  util_simd.h
  util_avxf.h
  util_avxb.h
  util_avxi.h
  util_semaphore.h
  util_sseb.h
  util_ssef.h
  util_ssei.h
  util_stack_allocator.h
  util_static_assert.h
  util_stats.h
  util_string.h
  util_system.h
  util_task.h
  util_tbb.h
  util_texture.h
  util_thread.h
  util_time.h
  util_transform.h
  util_types.h
  util_types_float2.h
  util_types_float2_impl.h
  util_types_float3.h
  util_types_float3_impl.h
  util_types_float4.h
  util_types_float4_impl.h
  util_types_float8.h
  util_types_float8_impl.h
  util_types_int2.h
  util_types_int2_impl.h
  util_types_int3.h
  util_types_int3_impl.h
  util_types_int4.h
  util_types_int4_impl.h
  util_types_uchar2.h
  util_types_uchar2_impl.h
  util_types_uchar3.h
  util_types_uchar3_impl.h
  util_types_uchar4.h
  util_types_uchar4_impl.h
  util_types_uint2.h
  util_types_uint2_impl.h
  util_types_uint3.h
  util_types_uint3_impl.h
  util_types_uint4.h
  util_types_uint4_impl.h
  util_types_ushort4.h
  util_types_vector3.h
  util_types_vector3_impl.h
  util_unique_ptr.h
  util_vector.h
  util_version.h
  util_view.h
  util_windows.h
  util_xml.h
)

include_directories(${INC})
include_directories(SYSTEM ${INC_SYS})

add_definitions(${GL_DEFINITIONS})

cycles_add_library(cycles_util "${LIB}" ${SRC} ${SRC_HEADERS})