Merged revision(s) 58452-58584 from trunk/blender into soc-2013-dingto.
[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_cuda.cpp
14         util_dynlib.cpp
15         util_md5.cpp
16         util_memarena.cpp
17         util_opencl.cpp
18         util_path.cpp
19         util_string.cpp
20         util_system.cpp
21         util_task.cpp
22         util_time.cpp
23         util_transform.cpp
24 )
25
26 if(WITH_CYCLES_TEST)
27         list(APPEND SRC
28                 util_view.cpp
29         )
30 endif()
31
32 set(SRC_HEADERS
33         util_algorithm.h
34         util_args.h
35         util_boundbox.h
36         util_cache.h
37         util_cuda.h
38         util_debug.h
39         util_dynlib.h
40         util_foreach.h
41         util_function.h
42         util_hash.h
43         util_image.h
44         util_list.h
45         util_map.h
46         util_math.h
47         util_md5.h
48         util_memarena.h
49         util_opencl.h
50         util_opengl.h
51         util_param.h
52         util_path.h
53         util_progress.h
54         util_set.h
55         util_stats.h
56         util_string.h
57         util_system.h
58         util_task.h
59         util_thread.h
60         util_time.h
61         util_transform.h
62         util_types.h
63         util_vector.h
64         util_view.h
65         util_xml.h
66 )
67
68 include_directories(${INC})
69 include_directories(SYSTEM ${INC_SYS})
70
71 add_library(cycles_util ${SRC} ${SRC_HEADERS})