Cycles: Add fundamentals to test constant folding
[blender.git] / intern / cycles / subd / CMakeLists.txt
1
2 set(INC
3         .
4         ../graph
5         ../kernel
6         ../kernel/svm
7         ../render
8         ../util
9 )
10
11 set(INC_SYS
12
13 )
14
15 set(SRC
16         subd_dice.cpp
17         subd_patch.cpp
18         subd_split.cpp
19 )
20
21 set(SRC_HEADERS
22         subd_dice.h
23         subd_patch.h
24         subd_split.h
25 )
26
27 if(WITH_CYCLES_OPENSUBDIV)
28         add_definitions(-DWITH_OPENSUBDIV)
29 endif()
30
31 include_directories(${INC})
32 include_directories(SYSTEM ${INC_SYS})
33
34 add_library(cycles_subd ${SRC} ${SRC_HEADERS})