6b8e3702d038d714a4ac37bb89f64244819979d2
[blender.git] / intern / cycles / render / CMakeLists.txt
1
2 set(INC
3         .
4         ../device
5         ../kernel
6         ../kernel/svm
7         ../kernel/osl
8         ../bvh
9         ../util
10         ${GLEW_INCLUDE_PATH}
11 )
12 set(INC_SYS
13         ${GLEW_INCLUDE_PATH}
14 )
15
16 set(SRC
17         attribute.cpp
18         background.cpp
19         buffers.cpp
20         camera.cpp
21         film.cpp
22         # film_response.cpp (code unused)
23         filter.cpp
24         graph.cpp
25         image.cpp
26         integrator.cpp
27         light.cpp
28         mesh.cpp
29         mesh_displace.cpp
30         nodes.cpp
31         object.cpp
32         osl.cpp
33         particles.cpp
34         scene.cpp
35         session.cpp
36         shader.cpp
37         sobol.cpp
38         svm.cpp
39         tile.cpp
40 )
41
42 set(SRC_HEADERS
43         attribute.h
44         background.h
45         buffers.h
46         camera.h
47         film.h
48         # film_response.h (code unused)
49         filter.h
50         graph.h
51         image.h
52         integrator.h
53         light.h
54         mesh.h
55         nodes.h
56         object.h
57         osl.h
58         particles.h
59         scene.h
60         session.h
61         shader.h
62         sobol.h
63         svm.h
64         tile.h
65 )
66
67 set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${RTTI_DISABLE_FLAGS}")
68
69 include_directories(${INC})
70 include_directories(SYSTEM ${INC_SYS})
71
72 add_library(cycles_render ${SRC} ${SRC_HEADERS})
73