ClangFormat: apply to source, most of intern
[blender.git] / intern / cycles / util / CMakeLists.txt
1
2 set(INC
3   ..
4   ../../glew-mx
5 )
6
7 set(INC_SYS
8   ${GLEW_INCLUDE_DIR}
9 )
10
11 set(SRC
12   util_aligned_malloc.cpp
13   util_debug.cpp
14   util_ies.cpp
15   util_logging.cpp
16   util_math_cdf.cpp
17   util_md5.cpp
18   util_murmurhash.cpp
19   util_path.cpp
20   util_profiling.cpp
21   util_string.cpp
22   util_simd.cpp
23   util_system.cpp
24   util_task.cpp
25   util_thread.cpp
26   util_time.cpp
27   util_transform.cpp
28 )
29
30 set(LIB
31
32 )
33
34 if(WITH_CYCLES_STANDALONE)
35   if (WITH_CYCLES_STANDALONE_GUI)
36     list(APPEND SRC
37       util_view.cpp
38     )
39   endif()
40 endif()
41
42 if(CYCLES_STANDALONE_REPOSITORY)
43   list(APPEND INC_SYS ../../third_party/numaapi/include)
44 else()
45   list(APPEND INC_SYS ../../numaapi/include)
46 endif()
47
48 set(SRC_HEADERS
49   util_algorithm.h
50   util_aligned_malloc.h
51   util_args.h
52   util_array.h
53   util_atomic.h
54   util_boundbox.h
55   util_debug.h
56   util_defines.h
57   util_guarded_allocator.cpp
58   util_foreach.h
59   util_function.h
60   util_guarded_allocator.h
61   util_half.h
62   util_hash.h
63   util_ies.h
64   util_image.h
65   util_image_impl.h
66   util_list.h
67   util_logging.h
68   util_map.h
69   util_math.h
70   util_math_cdf.h
71   util_math_fast.h
72   util_math_intersect.h
73   util_math_float2.h
74   util_math_float3.h
75   util_math_float4.h
76   util_math_int2.h
77   util_math_int3.h
78   util_math_int4.h
79   util_math_matrix.h
80   util_md5.h
81   util_murmurhash.h
82   util_opengl.h
83   util_optimization.h
84   util_param.h
85   util_path.h
86   util_profiling.h
87   util_progress.h
88   util_projection.h
89   util_queue.h
90   util_rect.h
91   util_set.h
92   util_simd.h
93   util_sky_model.cpp
94   util_sky_model.h
95   util_sky_model_data.h
96   util_avxf.h
97   util_avxb.h
98   util_sseb.h
99   util_ssef.h
100   util_ssei.h
101   util_stack_allocator.h
102   util_static_assert.h
103   util_stats.h
104   util_string.h
105   util_system.h
106   util_task.h
107   util_texture.h
108   util_thread.h
109   util_time.h
110   util_transform.h
111   util_types.h
112   util_types_float2.h
113   util_types_float2_impl.h
114   util_types_float3.h
115   util_types_float3_impl.h
116   util_types_float4.h
117   util_types_float4_impl.h
118   util_types_float8.h
119   util_types_float8_impl.h
120     util_types_int2.h
121   util_types_int2_impl.h
122   util_types_int3.h
123   util_types_int3_impl.h
124   util_types_int4.h
125   util_types_int4_impl.h
126   util_types_uchar2.h
127   util_types_uchar2_impl.h
128   util_types_uchar3.h
129   util_types_uchar3_impl.h
130   util_types_uchar4.h
131   util_types_uchar4_impl.h
132   util_types_uint2.h
133   util_types_uint2_impl.h
134   util_types_uint3.h
135   util_types_uint3_impl.h
136   util_types_uint4.h
137   util_types_uint4_impl.h
138   util_types_ushort4.h
139   util_types_vector3.h
140   util_types_vector3_impl.h
141   util_vector.h
142   util_version.h
143   util_view.h
144   util_windows.h
145   util_xml.h
146 )
147
148 include_directories(${INC})
149 include_directories(SYSTEM ${INC_SYS})
150
151 add_definitions(${GL_DEFINITIONS})
152
153 cycles_add_library(cycles_util "${LIB}" ${SRC} ${SRC_HEADERS})