diff options
Diffstat (limited to 'source/blender/modifiers/CMakeLists.txt')
-rw-r--r-- | source/blender/modifiers/CMakeLists.txt | 27 |
1 files changed, 25 insertions, 2 deletions
diff --git a/source/blender/modifiers/CMakeLists.txt b/source/blender/modifiers/CMakeLists.txt index 01770abeca0..549751ce267 100644 --- a/source/blender/modifiers/CMakeLists.txt +++ b/source/blender/modifiers/CMakeLists.txt @@ -31,7 +31,7 @@ set(INC ../editors/include ../makesdna ../makesrna - ../render/extern/include + ../render ../windowmanager ../../../intern/eigen ../../../intern/guardedalloc @@ -67,6 +67,7 @@ set(SRC intern/MOD_laplaciansmooth.c intern/MOD_lattice.c intern/MOD_mask.cc + intern/MOD_mesh_to_volume.cc intern/MOD_meshcache.c intern/MOD_meshcache_mdd.c intern/MOD_meshcache_pc2.c @@ -100,6 +101,8 @@ set(SRC intern/MOD_util.c intern/MOD_uvproject.c intern/MOD_uvwarp.c + intern/MOD_volume_displace.cc + intern/MOD_volume_to_mesh.cc intern/MOD_warp.c intern/MOD_wave.c intern/MOD_weighted_normal.c @@ -177,11 +180,31 @@ if(WITH_GMP) add_definitions(-DWITH_GMP) endif() +if(WITH_OPENVDB) + list(APPEND INC + ../../../intern/openvdb + ) + list(APPEND INC_SYS + ${OPENVDB_INCLUDE_DIRS} + ) + list(APPEND LIB + bf_intern_openvdb + ${OPENVDB_LIBRARIES} + ) + add_definitions(-DWITH_OPENVDB ${OPENVDB_DEFINITIONS}) +endif() + +if(WITH_EXPERIMENTAL_FEATURES) + add_definitions(-DWITH_GEOMETRY_NODES) + add_definitions(-DWITH_POINT_CLOUD) + add_definitions(-DWITH_HAIR_NODES) +endif() + # So we can have special tricks in modifier system. -add_definitions(${GL_DEFINITIONS}) blender_add_lib(bf_modifiers "${SRC}" "${INC}" "${INC_SYS}" "${LIB}") # Some modifiers include BLO_read_write.h, which includes dna_type_offsets.h # which is generated by bf_dna. Need to ensure compilaiton order here. +# Also needed so we can use dna_type_offsets.h for defaults initialization. add_dependencies(bf_modifiers bf_dna) |