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.
|
|
|
|
|
# ***** END GPL LICENSE BLOCK *****
|
|
|
|
|
|
|
|
|
|
set(INC
|
2010-06-05 23:27:49 +00:00
|
|
|
../include
|
2011-02-27 06:19:40 +00:00
|
|
|
../uvedit
|
2010-06-05 23:27:49 +00:00
|
|
|
../../blenkernel
|
|
|
|
|
../../blenlib
|
2015-08-16 17:32:01 +10:00
|
|
|
../../blentranslation
|
2010-07-19 04:44:37 +00:00
|
|
|
../../bmesh
|
2019-04-24 14:39:31 +10:00
|
|
|
../../depsgraph
|
2019-07-30 06:46:59 -03:00
|
|
|
../../draw
|
2013-03-16 17:12:39 +00:00
|
|
|
../../gpu
|
2010-06-05 23:27:49 +00:00
|
|
|
../../imbuf
|
|
|
|
|
../../makesdna
|
|
|
|
|
../../makesrna
|
2020-11-06 10:10:18 -05:00
|
|
|
../../render
|
2011-07-17 09:11:13 +00:00
|
|
|
../../windowmanager
|
2018-04-16 16:27:55 +02:00
|
|
|
../../../../intern/clog
|
2014-10-07 15:46:19 -05:00
|
|
|
../../../../intern/glew-mx
|
2019-04-24 14:39:31 +10:00
|
|
|
../../../../intern/guardedalloc
|
2011-05-31 01:15:44 +00:00
|
|
|
)
|
|
|
|
|
|
2010-10-23 04:05:55 +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
|
2018-07-14 23:16:34 +02:00
|
|
|
editmesh_add_gizmo.c
|
2019-08-28 12:40:48 +10:00
|
|
|
editmesh_automerge.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
|
2018-05-03 08:13:17 +02:00
|
|
|
editmesh_extrude_screw.c
|
|
|
|
|
editmesh_extrude_spin.c
|
2018-09-18 09:47:56 +10:00
|
|
|
editmesh_extrude_spin_gizmo.c
|
2013-04-01 10:18:01 +00:00
|
|
|
editmesh_inset.c
|
2014-07-11 10:32:33 +10:00
|
|
|
editmesh_intersect.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
|
2019-09-10 15:18:51 +02:00
|
|
|
editmesh_mask_extract.c
|
2013-06-04 01:23:51 +00:00
|
|
|
editmesh_path.c
|
2017-10-25 15:42:08 +11:00
|
|
|
editmesh_polybuild.c
|
2018-09-10 14:38:13 +10:00
|
|
|
editmesh_preselect_edgering.c
|
2018-09-09 16:11:02 +10:00
|
|
|
editmesh_preselect_elem.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
|
2018-09-18 19:20:49 -03:00
|
|
|
editmesh_select_similar.c
|
2012-03-24 00:20:36 +00:00
|
|
|
editmesh_tools.c
|
2016-05-25 19:12:43 +10:00
|
|
|
editmesh_undo.c
|
2012-03-24 00:20:36 +00:00
|
|
|
editmesh_utils.c
|
2012-02-19 19:32:41 +00:00
|
|
|
mesh_data.c
|
2018-03-16 23:14:07 +11:00
|
|
|
mesh_mirror.c
|
2012-02-19 19:32:41 +00:00
|
|
|
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
|
|
|
|
2019-04-14 15:18:44 +02:00
|
|
|
set(LIB
|
2019-04-16 06:18:52 +02:00
|
|
|
bf_blenkernel
|
|
|
|
|
bf_blenlib
|
2019-11-25 15:45:03 +11:00
|
|
|
bf_windowmanager
|
2019-04-14 15:18:44 +02:00
|
|
|
)
|
|
|
|
|
|
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()
|
|
|
|
|
|
2020-08-28 10:56:44 -04:00
|
|
|
if(WITH_GMP)
|
|
|
|
|
add_definitions(-DWITH_GMP)
|
|
|
|
|
endif()
|
|
|
|
|
|
2014-10-07 15:46:19 -05:00
|
|
|
|
2019-04-14 15:18:44 +02:00
|
|
|
blender_add_lib(bf_editor_mesh "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")
|