d9b97a7f6b02f4e79a2e4d7b5350812eeada90b8
[blender-staging.git] / intern / cycles / util / CMakeLists.txt
1
2 set(INC
3         .
4 )
5
6 set(INC_SYS
7         ${GLEW_INCLUDE_PATH}
8         ${OPENGL_INCLUDE_DIR}
9 )
10
11 set(SRC
12         util_cache.cpp
13         util_dynlib.cpp
14         util_md5.cpp
15         util_path.cpp
16         util_string.cpp
17         util_simd.cpp
18         util_system.cpp
19         util_task.cpp
20         util_time.cpp
21         util_transform.cpp
22 )
23
24 if(WITH_CYCLES_STANDALONE AND WITH_CYCLES_STANDALONE_GUI)
25         list(APPEND SRC
26                 util_view.cpp
27         )
28 endif()
29
30 set(SRC_HEADERS
31         util_algorithm.h
32         util_args.h
33         util_boundbox.h
34         util_cache.h
35         util_debug.h
36         util_dynlib.h
37         util_foreach.h
38         util_function.h
39         util_half.h
40         util_hash.h
41         util_image.h
42         util_list.h
43         util_map.h
44         util_math.h
45         util_md5.h
46         util_opengl.h
47         util_optimization.h
48         util_param.h
49         util_path.h
50         util_progress.h
51         util_set.h
52         util_simd.h
53         util_sseb.h
54         util_ssef.h
55         util_ssei.h
56         util_stats.h
57         util_string.h
58         util_system.h
59         util_task.h
60         util_thread.h
61         util_time.h
62         util_transform.h
63         util_types.h
64         util_vector.h
65         util_view.h
66         util_xml.h
67 )
68
69 include_directories(${INC})
70 include_directories(SYSTEM ${INC_SYS})
71
72 add_library(cycles_util ${SRC} ${SRC_HEADERS})