Cycles: svn merge -r39870:r40266 https://svn.blender.org/svnroot/bf-blender/trunk...
[blender-staging.git] / intern / cycles / util / CMakeLists.txt
1
2 include_directories(
3         .
4         ${GLEW_INCLUDE_PATH}
5         ${OPENGL_INCLUDE_DIR})
6
7 set(sources
8         util_cache.cpp
9         util_cuda.cpp
10         util_dynlib.cpp
11         util_md5.cpp
12         util_opencl.c
13         util_path.cpp
14         util_string.cpp
15         util_system.cpp
16         util_time.cpp
17         util_transform.cpp)
18
19 if(WITH_CYCLES_TEST)
20         list(APPEND sources util_view.cpp)
21 endif()
22
23 set(headers
24         util_algorithm.h
25         util_args.h
26         util_boundbox.h
27         util_cache.h
28         util_cuda.h
29         util_debug.h
30         util_dynlib.h
31         util_function.h
32         util_hash.h
33         util_image.h
34         util_list.h
35         util_map.h
36         util_math.h
37         util_md5.h
38         util_opencl.h
39         util_opengl.h
40         util_param.h
41         util_path.h
42         util_progress.h
43         util_set.h
44         util_string.h
45         util_system.h
46         util_thread.h
47         util_time.h
48         util_transform.h
49         util_types.h
50         util_view.h
51         util_vector.h
52         util_xml.h)
53
54 add_library(cycles_util ${sources} ${headers})
55