Fix T49004 and motion blur of cloth, softbody, etc past the end frame.
[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_logging.cpp
15         util_math_cdf.cpp
16         util_md5.cpp
17         util_path.cpp
18         util_string.cpp
19         util_simd.cpp
20         util_system.cpp
21         util_task.cpp
22         util_thread.cpp
23         util_time.cpp
24         util_transform.cpp
25         util_windows.cpp
26 )
27
28 if(NOT CYCLES_STANDALONE_REPOSITORY)
29         add_definitions(-DWITH_GLEW_MX)
30 endif()
31
32 if(WITH_CYCLES_STANDALONE AND WITH_CYCLES_STANDALONE_GUI)
33         list(APPEND SRC
34                 util_view.cpp
35         )
36 endif()
37
38 set(SRC_HEADERS
39         util_algorithm.h
40         util_aligned_malloc.h
41         util_args.h
42         util_atomic.h
43         util_boundbox.h
44         util_debug.h
45         util_guarded_allocator.cpp
46         util_foreach.h
47         util_function.h
48         util_guarded_allocator.h
49         util_half.h
50         util_hash.h
51         util_image.h
52         util_list.h
53         util_logging.h
54         util_map.h
55         util_math.h
56         util_math_cdf.h
57         util_math_fast.h
58         util_md5.h
59         util_opengl.h
60         util_optimization.h
61         util_param.h
62         util_path.h
63         util_progress.h
64         util_queue.h
65         util_set.h
66         util_simd.h
67         util_sky_model.cpp
68         util_sky_model.h
69         util_sky_model_data.h
70         util_sseb.h
71         util_ssef.h
72         util_ssei.h
73         util_stack_allocator.h
74         util_static_assert.h
75         util_stats.h
76         util_string.h
77         util_system.h
78         util_task.h
79         util_texture.h
80         util_thread.h
81         util_time.h
82         util_transform.h
83         util_types.h
84         util_vector.h
85         util_version.h
86         util_view.h
87         util_windows.h
88         util_xml.h
89 )
90
91 include_directories(${INC})
92 include_directories(SYSTEM ${INC_SYS})
93
94 add_definitions(${GL_DEFINITIONS})
95
96 add_library(cycles_util ${SRC} ${SRC_HEADERS})