style cleanup
[blender.git] / source / blender / bmesh / CMakeLists.txt
1 # $Id: CMakeLists.txt 31746 2010-09-04 05:31:25Z joeedh $
2 # ***** BEGIN GPL LICENSE BLOCK *****
3 #
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.
8 #
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.
13 #
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.
17 #
18 # The Original Code is Copyright (C) 2006, Blender Foundation
19 # All rights reserved.
20 #
21 # The Original Code is: all of this file.
22 #
23 # Contributor(s): Jacques Beaurain.
24 #
25 # ***** END GPL LICENSE BLOCK *****
26
27 set(INC 
28         .
29         ../blenkernel
30         ../blenlib
31         ../makesdna
32         ../../../intern/guardedalloc
33 )
34
35 set(INC_SYS
36
37 )
38
39 set(SRC
40         operators/bmo_bevel.c
41         operators/bmo_connect.c
42         operators/bmo_slide.c
43         operators/bmo_create.c
44         operators/bmo_dissolve.c
45         operators/bmo_dupe.c
46         operators/bmo_edgesplit.c
47         operators/bmo_extrude.c
48         operators/bmo_hull.c
49         operators/bmo_inset.c
50         operators/bmo_join_triangles.c
51         operators/bmo_mesh_conv.c
52         operators/bmo_mirror.c
53         operators/bmo_primitive.c
54         operators/bmo_removedoubles.c
55         operators/bmo_subdivide.c
56         operators/bmo_subdivide.h
57         operators/bmo_triangulate.c
58         operators/bmo_utils.c
59         operators/bmo_wireframe.c
60
61         intern/bmesh_construct.c
62         intern/bmesh_construct.h
63         intern/bmesh_core.c
64         intern/bmesh_core.h
65         intern/bmesh_inline.h
66         intern/bmesh_interp.c
67         intern/bmesh_interp.h
68         intern/bmesh_iterators.c
69         intern/bmesh_iterators.h
70         intern/bmesh_iterators_inline.h
71         intern/bmesh_marking.c
72         intern/bmesh_marking.h
73         intern/bmesh_mesh.c
74         intern/bmesh_mesh.h
75         intern/bmesh_mesh_conv.c
76         intern/bmesh_mesh_conv.h
77         intern/bmesh_mesh_validate.c
78         intern/bmesh_mesh_validate.h
79         intern/bmesh_mods.c
80         intern/bmesh_mods.h
81         intern/bmesh_opdefines.c
82         intern/bmesh_operator_api_inline.h
83         intern/bmesh_operators.c
84         intern/bmesh_operators.h
85         intern/bmesh_operators_private.h
86         intern/bmesh_polygon.c
87         intern/bmesh_polygon.h
88         intern/bmesh_private.h
89         intern/bmesh_queries.c
90         intern/bmesh_queries.h
91         intern/bmesh_structure.c
92         intern/bmesh_structure.h
93         intern/bmesh_walkers.c
94         intern/bmesh_walkers.h
95         intern/bmesh_walkers_impl.c
96         intern/bmesh_walkers_private.h
97
98         intern/bmesh_operator_api.h
99         intern/bmesh_error.h
100
101         tools/BME_bevel.c
102
103         bmesh.h
104         bmesh_class.h
105 )
106
107 if(MSVC)
108         set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /WX")
109 endif()
110
111 blender_add_lib(bf_bmesh "${SRC}" "${INC}" "${INC_SYS}")