17072d230bb14defd7384513244c97c0592b27d5
[blender-staging.git] / intern / cycles / device / CMakeLists.txt
1
2 set(INC
3         .
4         ../kernel
5         ../kernel/svm
6         ../kernel/osl
7         ../util
8         ../render
9         ${OPENGL_INCLUDE_DIR}
10         ${GLEW_INCLUDE_PATH}
11 )
12
13 set(SRC
14         device.cpp
15         device_cpu.cpp
16         device_cuda.cpp
17         device_multi.cpp
18         device_network.cpp
19         device_opencl.cpp
20 )
21
22 set(SRC_HEADERS
23         device.h
24         device_memory.h
25         device_intern.h
26         device_network.h
27 )
28
29 add_definitions(-DGLEW_STATIC)
30
31 include_directories(${INC})
32
33 add_library(cycles_device ${SRC} ${SRC_HEADERS})