Cycles: Add support of Glog logging
[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_logging.cpp
15         util_md5.cpp
16         util_path.cpp
17         util_string.cpp
18         util_simd.cpp
19         util_system.cpp
20         util_task.cpp
21         util_time.cpp
22         util_transform.cpp
23 )
24
25 if(WITH_CYCLES_STANDALONE AND WITH_CYCLES_STANDALONE_GUI)
26         list(APPEND SRC
27                 util_view.cpp
28         )
29 endif()
30
31 set(SRC_HEADERS
32         util_algorithm.h
33         util_args.h
34         util_boundbox.h
35         util_cache.h
36         util_debug.h
37         util_dynlib.h
38         util_foreach.h
39         util_function.h
40         util_half.h
41         util_hash.h
42         util_image.h
43         util_list.h
44         util_logging.h
45         util_map.h
46         util_math.h
47         util_md5.h
48         util_opengl.h
49         util_optimization.h
50         util_param.h
51         util_path.h
52         util_progress.h
53         util_set.h
54         util_simd.h
55         util_sseb.h
56         util_ssef.h
57         util_ssei.h
58         util_stats.h
59         util_string.h
60         util_system.h
61         util_task.h
62         util_thread.h
63         util_time.h
64         util_transform.h
65         util_types.h
66         util_vector.h
67         util_view.h
68         util_xml.h
69 )
70
71 include_directories(${INC})
72 include_directories(SYSTEM ${INC_SYS})
73
74 add_library(cycles_util ${SRC} ${SRC_HEADERS})