You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
127 lines
3.1 KiB
127 lines
3.1 KiB
# ***** BEGIN GPL LICENSE BLOCK *****
|
|
#
|
|
# This program is free software; you can redistribute it and/or
|
|
# modify it under the terms of the GNU General Public License
|
|
# as published by the Free Software Foundation; either version 2
|
|
# of the License, or (at your option) any later version.
|
|
#
|
|
# This program is distributed in the hope that it will be useful,
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
# GNU General Public License for more details.
|
|
#
|
|
# You should have received a copy of the GNU General Public License
|
|
# along with this program; if not, write to the Free Software Foundation,
|
|
# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
|
#
|
|
# The Original Code is Copyright (C) 2006, Blender Foundation
|
|
# All rights reserved.
|
|
# ***** END GPL LICENSE BLOCK *****
|
|
|
|
set(INC
|
|
.
|
|
../common
|
|
../../blenkernel
|
|
../../blenlib
|
|
../../blenloader
|
|
../../bmesh
|
|
../../depsgraph
|
|
../../editors/include
|
|
../../makesdna
|
|
../../makesrna
|
|
../../windowmanager
|
|
../../../../intern/clog
|
|
../../../../intern/guardedalloc
|
|
../../../../intern/utfconv
|
|
)
|
|
|
|
set(INC_SYS
|
|
${ALEMBIC_INCLUDE_DIRS}
|
|
${BOOST_INCLUDE_DIR}
|
|
${OPENEXR_INCLUDE_DIRS}
|
|
)
|
|
|
|
set(SRC
|
|
intern/abc_axis_conversion.cc
|
|
intern/abc_customdata.cc
|
|
intern/abc_reader_archive.cc
|
|
intern/abc_reader_camera.cc
|
|
intern/abc_reader_curves.cc
|
|
intern/abc_reader_mesh.cc
|
|
intern/abc_reader_nurbs.cc
|
|
intern/abc_reader_object.cc
|
|
intern/abc_reader_points.cc
|
|
intern/abc_reader_transform.cc
|
|
intern/abc_util.cc
|
|
intern/alembic_capi.cc
|
|
|
|
exporter/abc_archive.cc
|
|
exporter/abc_export_capi.cc
|
|
exporter/abc_hierarchy_iterator.cc
|
|
exporter/abc_subdiv_disabler.cc
|
|
exporter/abc_writer_abstract.cc
|
|
exporter/abc_writer_camera.cc
|
|
exporter/abc_writer_curves.cc
|
|
exporter/abc_writer_hair.cc
|
|
exporter/abc_writer_mball.cc
|
|
exporter/abc_writer_mesh.cc
|
|
exporter/abc_writer_nurbs.cc
|
|
exporter/abc_writer_points.cc
|
|
exporter/abc_writer_transform.cc
|
|
|
|
ABC_alembic.h
|
|
intern/abc_axis_conversion.h
|
|
intern/abc_customdata.h
|
|
intern/abc_reader_archive.h
|
|
intern/abc_reader_camera.h
|
|
intern/abc_reader_curves.h
|
|
intern/abc_reader_mesh.h
|
|
intern/abc_reader_nurbs.h
|
|
intern/abc_reader_object.h
|
|
intern/abc_reader_points.h
|
|
intern/abc_reader_transform.h
|
|
intern/abc_util.h
|
|
|
|
exporter/abc_archive.h
|
|
exporter/abc_hierarchy_iterator.h
|
|
exporter/abc_subdiv_disabler.h
|
|
exporter/abc_writer_abstract.h
|
|
exporter/abc_writer_camera.h
|
|
exporter/abc_writer_curves.h
|
|
exporter/abc_writer_hair.h
|
|
exporter/abc_writer_mball.h
|
|
exporter/abc_writer_mesh.h
|
|
exporter/abc_writer_nurbs.h
|
|
exporter/abc_writer_points.h
|
|
exporter/abc_writer_transform.h
|
|
)
|
|
|
|
set(LIB
|
|
bf_blenkernel
|
|
bf_blenlib
|
|
bf_io_common
|
|
|
|
${ALEMBIC_LIBRARIES}
|
|
${OPENEXR_LIBRARIES}
|
|
)
|
|
|
|
list(APPEND LIB
|
|
${BOOST_LIBRARIES}
|
|
)
|
|
|
|
blender_add_lib(bf_alembic "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")
|
|
|
|
if(WITH_GTESTS)
|
|
set(TEST_SRC
|
|
tests/abc_export_test.cc
|
|
tests/abc_matrix_test.cc
|
|
)
|
|
set(TEST_INC
|
|
)
|
|
set(TEST_LIB
|
|
bf_alembic
|
|
)
|
|
include(GTestTesting)
|
|
blender_add_test_lib(bf_io_alembic_tests "${TEST_SRC}" "${INC};${TEST_INC}" "${INC_SYS}" "${LIB};${TEST_LIB}")
|
|
endif()
|