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