Changeset View
Changeset View
Standalone View
Standalone View
source/blender/modifiers/CMakeLists.txt
| Show First 20 Lines • Show All 193 Lines • ▼ Show 20 Lines | list(APPEND LIB | ||||
| bf_intern_openvdb | bf_intern_openvdb | ||||
| ${OPENVDB_LIBRARIES} | ${OPENVDB_LIBRARIES} | ||||
| ) | ) | ||||
| add_definitions(-DWITH_OPENVDB ${OPENVDB_DEFINITIONS}) | add_definitions(-DWITH_OPENVDB ${OPENVDB_DEFINITIONS}) | ||||
| endif() | endif() | ||||
| if(WITH_EXPERIMENTAL_FEATURES) | if(WITH_EXPERIMENTAL_FEATURES) | ||||
| add_definitions(-DWITH_GEOMETRY_NODES) | add_definitions(-DWITH_GEOMETRY_NODES) | ||||
| add_definitions(-DWITH_POINT_CLOUD) | |||||
| add_definitions(-DWITH_HAIR_NODES) | add_definitions(-DWITH_HAIR_NODES) | ||||
| endif() | endif() | ||||
| # So we can have special tricks in modifier system. | # So we can have special tricks in modifier system. | ||||
| blender_add_lib(bf_modifiers "${SRC}" "${INC}" "${INC_SYS}" "${LIB}") | blender_add_lib(bf_modifiers "${SRC}" "${INC}" "${INC_SYS}" "${LIB}") | ||||
| # Some modifiers include BLO_read_write.h, which includes dna_type_offsets.h | # 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. | # 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. | # Also needed so we can use dna_type_offsets.h for defaults initialization. | ||||
| add_dependencies(bf_modifiers bf_dna) | add_dependencies(bf_modifiers bf_dna) | ||||