Code refactor: add generic Cycles node infrastructure.
[blender-staging.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_mesh.cpp
18         subd_patch.cpp
19         subd_split.cpp
20 )
21
22 set(SRC_HEADERS
23         subd_dice.h
24         subd_mesh.h
25         subd_patch.h
26         subd_split.h
27 )
28
29 if(WITH_CYCLES_OPENSUBDIV)
30         add_definitions(-DWITH_OPENSUBDIV)
31 endif()
32
33 include_directories(${INC})
34 include_directories(SYSTEM ${INC_SYS})
35
36 add_library(cycles_subd ${SRC} ${SRC_HEADERS})