Fix for Cycles (CUDA) compilation (again ...). Moved the AttributeStandard enum typed...
[blender.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_attribute.cpp
10         util_cache.cpp
11         util_cuda.cpp
12         util_dynlib.cpp
13         util_md5.cpp
14         util_memarena.cpp
15         util_opencl.cpp
16         util_path.cpp
17         util_string.cpp
18         util_system.cpp
19         util_task.cpp
20         util_time.cpp
21         util_transform.cpp
22 )
23
24 if(WITH_CYCLES_TEST)
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_attribute.h
34         util_boundbox.h
35         util_cache.h
36         util_cuda.h
37         util_debug.h
38         util_dynlib.h
39         util_foreach.h
40         util_function.h
41         util_hash.h
42         util_image.h
43         util_list.h
44         util_map.h
45         util_math.h
46         util_md5.h
47         util_memarena.h
48         util_opencl.h
49         util_opengl.h
50         util_param.h
51         util_path.h
52         util_progress.h
53         util_set.h
54         util_string.h
55         util_system.h
56         util_task.h
57         util_thread.h
58         util_time.h
59         util_transform.h
60         util_types.h
61         util_view.h
62         util_vector.h
63         util_xml.h
64 )
65
66 include_directories(${INC})
67
68 add_library(cycles_util ${SRC} ${SRC_HEADERS})