536d9fec80
- move object_iterators.c --> view3d_iterators. (ED_object.h had to include ED_view3d.h which isn't so nice) - move projection functions from view3d_view.c --> view3d_project.c (view3d_view was becoming a mishmash of utility functions and operators). - some some cmake includes as system-includes.
41 lines
469 B
CMake
41 lines
469 B
CMake
|
|
set(INC
|
|
.
|
|
../util
|
|
../kernel
|
|
../kernel/svm
|
|
../render
|
|
)
|
|
|
|
set(INC_SYS
|
|
|
|
)
|
|
|
|
set(SRC
|
|
subd_build.cpp
|
|
subd_dice.cpp
|
|
subd_mesh.cpp
|
|
subd_patch.cpp
|
|
subd_ring.cpp
|
|
subd_split.cpp
|
|
subd_stencil.cpp
|
|
)
|
|
|
|
set(SRC_HEADERS
|
|
subd_build.h
|
|
subd_dice.h
|
|
subd_edge.h
|
|
subd_face.h
|
|
subd_mesh.h
|
|
subd_patch.h
|
|
subd_ring.h
|
|
subd_split.h
|
|
subd_stencil.h
|
|
subd_vert.h
|
|
)
|
|
|
|
include_directories(${INC})
|
|
include_directories(SYSTEM ${INC_SYS})
|
|
|
|
add_library(cycles_subd ${SRC} ${SRC_HEADERS})
|