2010-06-04 11:34:57 +00:00
|
|
|
# ***** 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.
|
|
|
|
|
#
|
|
|
|
|
# Contributor(s): Jacques Beaurain.
|
|
|
|
|
#
|
|
|
|
|
# ***** END GPL LICENSE BLOCK *****
|
|
|
|
|
|
2010-12-08 08:43:06 +00:00
|
|
|
set(INC
|
2010-06-05 23:27:49 +00:00
|
|
|
../include
|
2011-02-27 06:19:40 +00:00
|
|
|
../uvedit
|
2012-10-19 16:43:10 +00:00
|
|
|
../../blenfont
|
2010-06-05 23:27:49 +00:00
|
|
|
../../blenkernel
|
|
|
|
|
../../blenlib
|
2010-07-19 04:44:37 +00:00
|
|
|
../../bmesh
|
2013-03-16 17:12:39 +00:00
|
|
|
../../gpu
|
2010-06-05 23:27:49 +00:00
|
|
|
../../imbuf
|
|
|
|
|
../../makesdna
|
|
|
|
|
../../makesrna
|
2010-06-04 11:34:57 +00:00
|
|
|
../../render/extern/include
|
2011-07-17 09:11:13 +00:00
|
|
|
../../windowmanager
|
2010-06-05 23:27:49 +00:00
|
|
|
../../../../intern/guardedalloc
|
2011-05-31 01:15:44 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
|
|
set(INC_SYS
|
2011-04-06 03:02:40 +00:00
|
|
|
${GLEW_INCLUDE_PATH}
|
2010-06-04 11:34:57 +00:00
|
|
|
)
|
|
|
|
|
|
2010-12-08 08:43:06 +00:00
|
|
|
set(SRC
|
2011-02-27 06:19:40 +00:00
|
|
|
editface.c
|
2012-02-19 19:32:41 +00:00
|
|
|
editmesh_add.c
|
2013-04-01 10:18:01 +00:00
|
|
|
editmesh_bevel.c
|
2013-08-29 18:45:04 +00:00
|
|
|
editmesh_bisect.c
|
2013-04-01 10:18:01 +00:00
|
|
|
editmesh_extrude.c
|
|
|
|
|
editmesh_inset.c
|
2012-03-24 00:20:36 +00:00
|
|
|
editmesh_knife.c
|
2013-03-15 13:06:31 +00:00
|
|
|
editmesh_knife_project.c
|
2012-03-24 00:20:36 +00:00
|
|
|
editmesh_loopcut.c
|
2013-06-04 01:23:51 +00:00
|
|
|
editmesh_path.c
|
2012-04-17 10:25:23 +00:00
|
|
|
editmesh_rip.c
|
2014-06-14 01:38:57 +10:00
|
|
|
editmesh_rip_edge.c
|
2012-03-24 00:20:36 +00:00
|
|
|
editmesh_select.c
|
|
|
|
|
editmesh_tools.c
|
|
|
|
|
editmesh_utils.c
|
2012-02-19 19:32:41 +00:00
|
|
|
mesh_data.c
|
|
|
|
|
mesh_ops.c
|
|
|
|
|
meshtools.c
|
2011-05-09 02:45:52 +00:00
|
|
|
|
|
|
|
|
mesh_intern.h
|
2010-10-23 04:05:55 +00:00
|
|
|
)
|
2010-06-04 11:34:57 +00:00
|
|
|
|
2011-09-27 09:09:52 +00:00
|
|
|
if(WITH_GAMEENGINE)
|
|
|
|
|
add_definitions(-DWITH_GAMEENGINE)
|
|
|
|
|
|
|
|
|
|
list(APPEND INC
|
|
|
|
|
../../../../extern/recastnavigation
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
list(APPEND SRC
|
|
|
|
|
mesh_navmesh.c
|
|
|
|
|
)
|
|
|
|
|
endif()
|
|
|
|
|
|
2012-10-19 16:43:10 +00:00
|
|
|
if(WITH_INTERNATIONAL)
|
|
|
|
|
add_definitions(-DWITH_INTERNATIONAL)
|
|
|
|
|
endif()
|
|
|
|
|
|
2012-12-20 07:57:26 +00:00
|
|
|
if(WITH_FREESTYLE)
|
|
|
|
|
add_definitions(-DWITH_FREESTYLE)
|
|
|
|
|
endif()
|
|
|
|
|
|
2012-10-23 23:54:15 +00:00
|
|
|
if(WITH_BULLET)
|
2012-11-03 15:35:03 +00:00
|
|
|
add_definitions(-DWITH_BULLET)
|
2012-10-23 23:54:15 +00:00
|
|
|
endif()
|
|
|
|
|
|
2011-05-31 01:15:44 +00:00
|
|
|
blender_add_lib(bf_editor_mesh "${SRC}" "${INC}" "${INC_SYS}")
|