ba5c3785eac66f27f87ba905ebbf559f4159e347
[blender.git] / intern / cycles / bvh / CMakeLists.txt
1
2 set(INC
3         .
4         ../kernel
5         ../kernel/svm
6         ../render
7         ../util
8         ../device
9 )
10 set(INC_SYS
11 )
12
13 set(SRC
14         bvh.cpp
15         bvh_binning.cpp
16         bvh_build.cpp
17         bvh_node.cpp
18         bvh_sort.cpp
19         bvh_split.cpp
20 )
21
22 set(SRC_HEADERS
23         bvh.h
24         bvh_binning.h
25         bvh_build.h
26         bvh_node.h
27         bvh_params.h
28         bvh_sort.h
29         bvh_split.h
30 )
31
32 include_directories(${INC})
33 include_directories(SYSTEM ${INC_SYS})
34
35 add_library(cycles_bvh ${SRC} ${SRC_HEADERS})