Changeset View
Changeset View
Standalone View
Standalone View
intern/openvdb/CMakeLists.txt
| Show All 15 Lines | |||||
| # | # | ||||
| # The Original Code is Copyright (C) 2015, Blender Foundation | # The Original Code is Copyright (C) 2015, Blender Foundation | ||||
| # All rights reserved. | # All rights reserved. | ||||
| # ***** END GPL LICENSE BLOCK ***** | # ***** END GPL LICENSE BLOCK ***** | ||||
| set(INC | set(INC | ||||
| . | . | ||||
| intern | intern | ||||
| ../guardedalloc | |||||
| ) | ) | ||||
| set(INC_SYS | set(INC_SYS | ||||
| ) | ) | ||||
| set(SRC | set(SRC | ||||
| openvdb_capi.h | openvdb_capi.h | ||||
| ) | ) | ||||
| Show All 19 Lines | list(APPEND INC_SYS | ||||
| ${OPENEXR_INCLUDE_DIRS} | ${OPENEXR_INCLUDE_DIRS} | ||||
| ${OPENVDB_INCLUDE_DIRS} | ${OPENVDB_INCLUDE_DIRS} | ||||
| ) | ) | ||||
| list(APPEND SRC | list(APPEND SRC | ||||
| intern/openvdb_dense_convert.cc | intern/openvdb_dense_convert.cc | ||||
| intern/openvdb_reader.cc | intern/openvdb_reader.cc | ||||
| intern/openvdb_writer.cc | intern/openvdb_writer.cc | ||||
| intern/openvdb_level_set.cc | |||||
| intern/openvdb_transform.cc | |||||
| openvdb_capi.cc | openvdb_capi.cc | ||||
| openvdb_util.cc | openvdb_util.cc | ||||
| intern/openvdb_dense_convert.h | intern/openvdb_dense_convert.h | ||||
| intern/openvdb_reader.h | intern/openvdb_reader.h | ||||
| intern/openvdb_writer.h | intern/openvdb_writer.h | ||||
| intern/openvdb_level_set.h | |||||
| intern/openvdb_transform.h | |||||
| openvdb_util.h | openvdb_util.h | ||||
| ) | ) | ||||
| if(WITH_OPENVDB_BLOSC) | if(WITH_OPENVDB_BLOSC) | ||||
| add_definitions( | add_definitions( | ||||
| -DWITH_OPENVDB_BLOSC | -DWITH_OPENVDB_BLOSC | ||||
| ) | ) | ||||
| endif() | endif() | ||||
| endif() | endif() | ||||
| blender_add_lib(bf_intern_openvdb "${SRC}" "${INC}" "${INC_SYS}" "${LIB}") | blender_add_lib(bf_intern_openvdb "${SRC}" "${INC}" "${INC_SYS}" "${LIB}") | ||||