1 # $Id: CMakeLists.txt 31746 2010-09-04 05:31:25Z joeedh $
2 # ***** BEGIN GPL LICENSE BLOCK *****
4 # This program is free software; you can redistribute it and/or
5 # modify it under the terms of the GNU General Public License
6 # as published by the Free Software Foundation; either version 2
7 # of the License, or (at your option) any later version.
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 # GNU General Public License for more details.
14 # You should have received a copy of the GNU General Public License
15 # along with this program; if not, write to the Free Software Foundation,
16 # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18 # The Original Code is Copyright (C) 2006, Blender Foundation
19 # All rights reserved.
21 # The Original Code is: all of this file.
23 # Contributor(s): Jacques Beaurain.
25 # ***** END GPL LICENSE BLOCK *****
44 ../render/extern/include
45 ../../../extern/glew/include
46 ../../../intern/audaspace/intern
47 ../../../intern/bsp/extern ../blenfont
48 ../../../intern/decimation/extern
49 ../../../intern/elbeem/extern
50 ../../../intern/guardedalloc
51 ../../../intern/iksolver/extern
52 ../../../intern/memutil
53 ../../../intern/opennl/extern
54 ../../../intern/smoke/extern
55 ../../../intern/mikktspace
56 ../../../source/blender/windowmanager # XXX - BAD LEVEL CALL WM_api.h
62 operators/bmesh_dupeops.c
64 operators/subdivideop.c
65 operators/connectops.c
66 operators/removedoubles.c
68 operators/primitiveops.c
69 operators/join_triangles.c
70 operators/edgesplitop.c
72 operators/dissolveops.c
73 operators/subdivideop.h
74 operators/triangulateop.c
76 operators/extrudeops.c
79 intern/bmesh_newcore.c
81 intern/bmesh_iterators.c
82 intern/bmesh_marking.c
85 intern/bmesh_structure.h
86 intern/bmesh_construct.c
87 intern/bmesh_to_editmesh.c
88 intern/bmesh_operators_private.h
89 intern/editmesh_to_bmesh.c
90 intern/bmesh_structure.c
91 intern/bmesh_polygon.c
92 intern/bmesh_queries.c
93 intern/bmesh_opdefines.c
94 intern/bmesh_filters.c
96 intern/bmesh_operators.c
97 intern/bmesh_private.h
98 intern/bmesh_walkers.c
99 intern/bmesh_walkers_impl.c
100 intern/bmesh_walkers_private.h
101 intern/bmesh_inline.c
112 add_definitions(-DGLEW_STATIC)
115 list(APPEND INC ../../../extern/lzo/minilzo)
116 add_definitions(-DWITH_LZO)
120 list(APPEND INC ../../../extern/lzma)
121 add_definitions(-DWITH_LZMA)
125 set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /WX")
128 blender_add_lib(bf_bmesh "${SRC}" "${INC}")