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