Merging r50049 through r50076 from trunk into soc-2011-tomato
[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         ${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         device_task.cpp
21 )
22
23 set(SRC_HEADERS
24         device.h
25         device_memory.h
26         device_intern.h
27         device_network.h
28         device_task.h
29 )
30
31 add_definitions(-DGLEW_STATIC)
32
33 include_directories(${INC})
34
35 add_library(cycles_device ${SRC} ${SRC_HEADERS})