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