forked from bartvdbraak/blender
Brecht Van Lommel
731ffd3cd4
It was never fully implemented and will be replaced by OpenSubdiv. Only linear subdivision remains now. Also includes some refactoring in the split/dice code, adding a SubdParams struct to pass around parameters more easily.
32 lines
338 B
CMake
32 lines
338 B
CMake
|
|
set(INC
|
|
.
|
|
../util
|
|
../kernel
|
|
../kernel/svm
|
|
../render
|
|
)
|
|
|
|
set(INC_SYS
|
|
|
|
)
|
|
|
|
set(SRC
|
|
subd_dice.cpp
|
|
subd_mesh.cpp
|
|
subd_patch.cpp
|
|
subd_split.cpp
|
|
)
|
|
|
|
set(SRC_HEADERS
|
|
subd_dice.h
|
|
subd_mesh.h
|
|
subd_patch.h
|
|
subd_split.h
|
|
)
|
|
|
|
include_directories(${INC})
|
|
include_directories(SYSTEM ${INC_SYS})
|
|
|
|
add_library(cycles_subd ${SRC} ${SRC_HEADERS})
|