Welcome to mirror list, hosted at ThFree Co, Russian Federation.

CMakeLists.txt « alembic « io « blender « source - git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: fd24ab7cbafd319f6b499d916711467d29c71741 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright 2006 Blender Foundation. All rights reserved.

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_custom_props.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_instance.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_custom_props.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_instance.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()