1 # ***** BEGIN GPL LICENSE BLOCK *****
3 # This program is free software; you can redistribute it and/or
4 # modify it under the terms of the GNU General Public License
5 # as published by the Free Software Foundation; either version 2
6 # of the License, or (at your option) any later version.
8 # This program is distributed in the hope that it will be useful,
9 # but WITHOUT ANY WARRANTY; without even the implied warranty of
10 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 # GNU General Public License for more details.
13 # You should have received a copy of the GNU General Public License
14 # along with this program; if not, write to the Free Software Foundation,
15 # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17 # The Original Code is Copyright (C) 2006, Blender Foundation
18 # All rights reserved.
20 # The Original Code is: all of this file.
22 # Contributor(s): Jacques Beaurain.
24 # ***** END GPL LICENSE BLOCK *****
32 ../../../intern/guardedalloc
33 ../../../extern/rangetree
41 operators/bmo_beautify.c
43 operators/bmo_bisect_plane.c
44 operators/bmo_bridge.c
45 operators/bmo_connect.c
46 operators/bmo_connect_nonplanar.c
47 operators/bmo_connect_pair.c
48 operators/bmo_create.c
49 operators/bmo_dissolve.c
51 operators/bmo_edgenet.c
52 operators/bmo_extrude.c
53 operators/bmo_fill_attribute.c
54 operators/bmo_fill_edgeloop.c
55 operators/bmo_fill_grid.c
56 operators/bmo_fill_holes.c
59 operators/bmo_join_triangles.c
60 operators/bmo_mesh_conv.c
61 operators/bmo_mirror.c
62 operators/bmo_normals.c
64 operators/bmo_primitive.c
65 operators/bmo_removedoubles.c
66 operators/bmo_similar.c
67 operators/bmo_smooth_laplacian.c
68 operators/bmo_split_edges.c
69 operators/bmo_subdivide.c
70 operators/bmo_subdivide_edgering.c
71 operators/bmo_symmetrize.c
72 operators/bmo_triangulate.c
73 operators/bmo_unsubdivide.c
75 operators/bmo_wireframe.c
77 intern/bmesh_construct.c
78 intern/bmesh_construct.h
81 intern/bmesh_edgeloop.c
82 intern/bmesh_edgeloop.h
88 intern/bmesh_iterators.c
89 intern/bmesh_iterators.h
90 intern/bmesh_iterators_inline.h
93 intern/bmesh_marking.c
94 intern/bmesh_marking.h
97 intern/bmesh_mesh_conv.c
98 intern/bmesh_mesh_conv.h
99 intern/bmesh_mesh_validate.c
100 intern/bmesh_mesh_validate.h
103 intern/bmesh_opdefines.c
104 intern/bmesh_operator_api_inline.h
105 intern/bmesh_operators.c
106 intern/bmesh_operators.h
107 intern/bmesh_operators_private.h
108 intern/bmesh_polygon.c
109 intern/bmesh_polygon.h
110 intern/bmesh_private.h
111 intern/bmesh_queries.c
112 intern/bmesh_queries.h
113 intern/bmesh_queries_inline.h
114 intern/bmesh_structure.c
115 intern/bmesh_structure.h
116 intern/bmesh_structure_inline.h
117 intern/bmesh_walkers.c
118 intern/bmesh_walkers.h
119 intern/bmesh_walkers_impl.c
120 intern/bmesh_walkers_private.h
122 intern/bmesh_operator_api.h
125 tools/bmesh_beautify.c
126 tools/bmesh_beautify.h
129 tools/bmesh_bisect_plane.c
130 tools/bmesh_bisect_plane.h
131 tools/bmesh_decimate_collapse.c
132 tools/bmesh_decimate_dissolve.c
133 tools/bmesh_decimate_unsubdivide.c
134 tools/bmesh_decimate.h
135 tools/bmesh_edgenet.c
136 tools/bmesh_edgenet.h
137 tools/bmesh_edgesplit.c
138 tools/bmesh_edgesplit.h
141 tools/bmesh_triangulate.c
142 tools/bmesh_triangulate.h
143 tools/bmesh_wireframe.c
144 tools/bmesh_wireframe.h
154 set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /WX")
158 add_definitions(-DWITH_BULLET)
160 ${BULLET_INCLUDE_DIRS}
164 if(WITH_INTERNATIONAL)
165 add_definitions(-DWITH_INTERNATIONAL)
169 add_definitions(-DWITH_OPENNL)
171 ../../../intern/opennl/extern
176 add_definitions(-DWITH_FREESTYLE)
179 blender_add_lib(bf_bmesh "${SRC}" "${INC}" "${INC_SYS}")