From afc56a0b10b52d2c8bdfd44257624d776db72f79 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sun, 19 Feb 2012 18:31:04 +0000 Subject: copying bmesh dir on its own from bmesh branch --- source/blender/bmesh/CMakeLists.txt | 137 ++++++++++++++++++++++++++++++++++++ 1 file changed, 137 insertions(+) create mode 100644 source/blender/bmesh/CMakeLists.txt (limited to 'source/blender/bmesh/CMakeLists.txt') diff --git a/source/blender/bmesh/CMakeLists.txt b/source/blender/bmesh/CMakeLists.txt new file mode 100644 index 00000000000..d8349012a5f --- /dev/null +++ b/source/blender/bmesh/CMakeLists.txt @@ -0,0 +1,137 @@ +# $Id: CMakeLists.txt 31746 2010-09-04 05:31:25Z joeedh $ +# ***** 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. +# +# The Original Code is: all of this file. +# +# Contributor(s): Jacques Beaurain. +# +# ***** END GPL LICENSE BLOCK ***** + +set(INC + . + intern + operators + ../avi + ../blenfont + ../blenkernel + ../blenlib + ../blenloader + ../editors/include + ../editors/mesh + ../gpu + ../ikplugin + ../imbuf + ../makesdna + ../makesrna + ../modifiers + ../nodes + ../render/extern/include + ../../../extern/glew/include + ../../../intern/audaspace/intern + ../../../intern/bsp/extern + ../../../intern/decimation/extern + ../../../intern/elbeem/extern + ../../../intern/guardedalloc + ../../../intern/iksolver/extern + ../../../intern/memutil + ../../../intern/mikktspace + ../../../intern/opennl/extern + ../../../intern/smoke/extern + # XXX - BAD LEVEL CALL WM_api.h + ../../../source/blender/windowmanager +) + +set(INC_SYS + ${ZLIB_INCLUDE_DIRS} +) + +set(SRC + operators/bmo_bevel.c + operators/bmo_connect.c + operators/bmo_create.c + operators/bmo_dissolve.c + operators/bmo_dupe.c + operators/bmo_edgesplit.c + operators/bmo_extrude.c + operators/bmo_join_triangles.c + operators/bmo_mesh_conv.c + operators/bmo_mirror.c + operators/bmo_primitive.c + operators/bmo_removedoubles.c + operators/bmo_subdivide.c + operators/bmo_subdivide.h + operators/bmo_triangulate.c + operators/bmo_utils.c + + intern/bmesh_newcore.c + intern/bmesh_interp.c + intern/bmesh_iterators.c + intern/bmesh_iterators_inline.c + intern/bmesh_marking.c + intern/bmesh_mesh.c + intern/bmesh_mods.c + intern/bmesh_structure.h + intern/bmesh_construct.c + intern/bmesh_operators_private.h + intern/bmesh_structure.c + intern/bmesh_polygon.c + intern/bmesh_queries.c + intern/bmesh_opdefines.c + intern/bmesh_eulers.c + intern/bmesh_operators.c + intern/bmesh_private.h + intern/bmesh_walkers.c + intern/bmesh_walkers_impl.c + intern/bmesh_walkers_private.h + intern/bmesh_inline.c + + tools/BME_bevel.c + bmesh.h + bmesh_class.h + bmesh_error.h + bmesh_iterators.h + bmesh_marking.h + bmesh_operator_api.h + bmesh_operators.h + bmesh_queries.h + bmesh_walkers.h +) + +add_definitions(-DGLEW_STATIC) + +if(WITH_LZO) + add_definitions(-DWITH_LZO) + list(APPEND INC_SYS + ../../../extern/lzo/minilzo + ) +endif() + +if(WITH_LZMA) + add_definitions(-DWITH_LZMA) + list(APPEND INC_SYS + ../../../extern/lzma + ) +endif() + +if(MSVC) + set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /WX") +endif() + +blender_add_lib(bf_bmesh "${SRC}" "${INC}" "${INC_SYS}") -- cgit v1.2.3