blob: e1fb44b92b43ce576439f5ea3088ec840b8f0c51 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
set(INC
.
../kernel
../kernel/svm
../kernel/osl
../util
../render
${OPENGL_INCLUDE_DIR}
${GLEW_INCLUDE_PATH}
)
set(SRC
device.cpp
device_cpu.cpp
device_cuda.cpp
device_multi.cpp
device_network.cpp
device_opencl.cpp
)
set(SRC_HEADERS
device.h
device_intern.h
device_network.h
)
add_definitions(-DGLEW_STATIC)
include_directories(${INC})
add_library(cycles_device ${SRC} ${SRC_HEADERS})
|