correct some include dirs not being included as SYSTEM paths in cmake.
[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 )
11 set(INC_SYS
12         ${GLEW_INCLUDE_PATH}
13 )
14
15 set(SRC
16         attribute.cpp
17         background.cpp
18         buffers.cpp
19         camera.cpp
20         film.cpp
21         # film_response.cpp (code unused)
22         filter.cpp
23         graph.cpp
24         image.cpp
25         integrator.cpp
26         light.cpp
27         mesh.cpp
28         mesh_displace.cpp
29         nodes.cpp
30         object.cpp
31         osl.cpp
32         particles.cpp
33         scene.cpp
34         session.cpp
35         shader.cpp
36         sobol.cpp
37         svm.cpp
38         tile.cpp
39 )
40
41 set(SRC_HEADERS
42         attribute.h
43         background.h
44         buffers.h
45         camera.h
46         film.h
47         # film_response.h (code unused)
48         filter.h
49         graph.h
50         image.h
51         integrator.h
52         light.h
53         mesh.h
54         nodes.h
55         object.h
56         osl.h
57         particles.h
58         scene.h
59         session.h
60         shader.h
61         sobol.h
62         svm.h
63         tile.h
64 )
65
66 set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${RTTI_DISABLE_FLAGS}")
67
68 include_directories(${INC})
69 include_directories(SYSTEM ${INC_SYS})
70
71 add_library(cycles_render ${SRC} ${SRC_HEADERS})
72