forked from bartvdbraak/blender
9396e11180
By calling `tessellate()` from the mesh manager in Cycles we can do pre/post processing or even threaded tessellation without concerning client side code with the details.
33 lines
362 B
CMake
33 lines
362 B
CMake
|
|
set(INC
|
|
.
|
|
../graph
|
|
../kernel
|
|
../kernel/svm
|
|
../render
|
|
../util
|
|
)
|
|
|
|
set(INC_SYS
|
|
|
|
)
|
|
|
|
set(SRC
|
|
subd_dice.cpp
|
|
subd_patch.cpp
|
|
subd_split.cpp
|
|
subd_patch_table.cpp
|
|
)
|
|
|
|
set(SRC_HEADERS
|
|
subd_dice.h
|
|
subd_patch.h
|
|
subd_patch_table.h
|
|
subd_split.h
|
|
)
|
|
|
|
include_directories(${INC})
|
|
include_directories(SYSTEM ${INC_SYS})
|
|
|
|
add_library(cycles_subd ${SRC} ${SRC_HEADERS})
|