# ***** 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
  ../include
  ../../blenfont
  ../../blenkernel
  ../../blenlib
  ../../blentranslation
  ../../bmesh
  ../../depsgraph
  ../../gpu
  ../../ikplugin
  ../../makesdna
  ../../makesrna
  ../../render
  ../../sequencer
  ../../windowmanager
  ../../../../intern/glew-mx
  ../../../../intern/guardedalloc
)


set(SRC
  transform.c
  transform_constraints.c
  transform_convert.c
  transform_convert_action.c
  transform_convert_armature.c
  transform_convert_cursor.c
  transform_convert_curve.c
  transform_convert_gpencil.c
  transform_convert_graph.c
  transform_convert_lattice.c
  transform_convert_mask.c
  transform_convert_mball.c
  transform_convert_mesh.c
  transform_convert_mesh_edge.c
  transform_convert_mesh_skin.c
  transform_convert_mesh_uv.c
  transform_convert_nla.c
  transform_convert_node.c
  transform_convert_object.c
  transform_convert_object_texspace.c
  transform_convert_paintcurve.c
  transform_convert_particle.c
  transform_convert_sculpt.c
  transform_convert_sequencer.c
  transform_convert_tracking.c
  transform_draw_cursors.c
  transform_generics.c
  transform_gizmo_2d.c
  transform_gizmo_3d.c
  transform_gizmo_extrude_3d.c
  transform_input.c
  transform_mode.c
  transform_mode_align.c
  transform_mode_baketime.c
  transform_mode_bbone_resize.c
  transform_mode_bend.c
  transform_mode_boneenvelope.c
  transform_mode_boneroll.c
  transform_mode_curveshrinkfatten.c
  transform_mode_edge_bevelweight.c
  transform_mode_edge_crease.c
  transform_mode_edge_rotate_normal.c
  transform_mode_edge_seq_slide.c
  transform_mode_edge_slide.c
  transform_mode_gpopacity.c
  transform_mode_gpshrinkfatten.c
  transform_mode_maskshrinkfatten.c
  transform_mode_mirror.c
  transform_mode_push_pull.c
  transform_mode_resize.c
  transform_mode_rotate.c
  transform_mode_shear.c
  transform_mode_shrink_fatten.c
  transform_mode_skin_resize.c
  transform_mode_tilt.c
  transform_mode_timescale.c
  transform_mode_timeslide.c
  transform_mode_timetranslate.c
  transform_mode_tosphere.c
  transform_mode_trackball.c
  transform_mode_translate.c
  transform_mode_vert_slide.c
  transform_ops.c
  transform_orientations.c
  transform_snap.c
  transform_snap_object.c

  transform.h
  transform_constraints.h
  transform_convert.h
  transform_data.h
  transform_draw_cursors.h
  transform_mode.h
  transform_orientations.h
  transform_snap.h
)

set(LIB
  bf_blenfont
  bf_blenkernel
  bf_blenlib
  bf_bmesh
  bf_editor_mask
  bf_gpu
)

if(WITH_INTERNATIONAL)
  add_definitions(-DWITH_INTERNATIONAL)
endif()


blender_add_lib(bf_editor_transform "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")
