2008-04-16 22:40:48 +00:00
|
|
|
# ***** BEGIN GPL LICENSE BLOCK *****
|
2006-11-17 02:27:12 +00:00
|
|
|
#
|
|
|
|
|
# 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
|
2008-04-16 22:40:48 +00:00
|
|
|
# of the License, or (at your option) any later version.
|
2006-11-17 02:27:12 +00:00
|
|
|
#
|
|
|
|
|
# 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,
|
2010-02-12 13:34:04 +00:00
|
|
|
# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
2006-11-17 02:27:12 +00:00
|
|
|
#
|
|
|
|
|
# The Original Code is Copyright (C) 2006, Blender Foundation
|
|
|
|
|
# All rights reserved.
|
|
|
|
|
#
|
|
|
|
|
# The Original Code is: all of this file.
|
|
|
|
|
#
|
|
|
|
|
# Contributor(s): Jacques Beaurain.
|
|
|
|
|
#
|
2008-04-16 22:40:48 +00:00
|
|
|
# ***** END GPL LICENSE BLOCK *****
|
2006-11-17 02:27:12 +00:00
|
|
|
|
2012-03-27 00:17:57 +00:00
|
|
|
set(INC
|
2010-09-06 10:15:41 +00:00
|
|
|
.
|
2011-07-16 23:01:14 +00:00
|
|
|
../blenfont
|
2010-09-06 10:15:41 +00:00
|
|
|
../blenlib
|
|
|
|
|
../blenloader
|
|
|
|
|
../gpu
|
|
|
|
|
../ikplugin
|
|
|
|
|
../imbuf
|
|
|
|
|
../makesdna
|
|
|
|
|
../makesrna
|
2011-02-27 06:19:40 +00:00
|
|
|
../bmesh
|
2010-09-06 10:15:41 +00:00
|
|
|
../modifiers
|
|
|
|
|
../nodes
|
2014-09-13 14:36:46 +02:00
|
|
|
../physics
|
2010-09-06 10:15:41 +00:00
|
|
|
../render/extern/include
|
2014-11-23 14:37:13 +01:00
|
|
|
../../../intern/ghost
|
2010-09-06 10:15:41 +00:00
|
|
|
../../../intern/guardedalloc
|
2014-10-07 15:46:19 -05:00
|
|
|
../../../intern/glew-mx
|
2010-09-06 10:15:41 +00:00
|
|
|
../../../intern/iksolver/extern
|
|
|
|
|
../../../intern/memutil
|
2011-07-16 23:01:14 +00:00
|
|
|
../../../intern/mikktspace
|
2012-06-04 16:42:58 +00:00
|
|
|
../../../intern/raskter
|
2012-09-15 01:52:28 +00:00
|
|
|
../../../intern/smoke/extern
|
2013-08-19 10:44:18 +00:00
|
|
|
../../../intern/atomic
|
2014-09-05 12:48:49 +02:00
|
|
|
../../../extern/libmv
|
2011-07-16 23:01:14 +00:00
|
|
|
|
|
|
|
|
# XXX - BAD LEVEL CALL WM_api.h
|
2011-07-17 09:11:13 +00:00
|
|
|
../windowmanager
|
2011-05-31 01:15:44 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
|
|
set(INC_SYS
|
2011-04-05 23:31:01 +00:00
|
|
|
${GLEW_INCLUDE_PATH}
|
2011-01-25 14:43:13 +00:00
|
|
|
${ZLIB_INCLUDE_DIRS}
|
2006-11-17 02:27:12 +00:00
|
|
|
)
|
|
|
|
|
|
2010-12-08 08:43:06 +00:00
|
|
|
set(SRC
|
2010-10-23 04:05:55 +00:00
|
|
|
intern/CCGSubSurf.c
|
|
|
|
|
intern/DerivedMesh.c
|
|
|
|
|
intern/action.c
|
2012-12-29 10:24:42 +00:00
|
|
|
intern/addon.c
|
2010-10-23 04:05:55 +00:00
|
|
|
intern/anim.c
|
|
|
|
|
intern/anim_sys.c
|
2014-11-23 14:37:13 +01:00
|
|
|
intern/appdir.c
|
2010-10-23 04:05:55 +00:00
|
|
|
intern/armature.c
|
2013-06-18 18:11:52 +00:00
|
|
|
intern/autoexec.c
|
2010-10-23 04:05:55 +00:00
|
|
|
intern/blender.c
|
|
|
|
|
intern/bmfont.c
|
|
|
|
|
intern/boids.c
|
2012-12-15 15:31:50 +00:00
|
|
|
intern/bpath.c
|
2010-10-23 04:05:55 +00:00
|
|
|
intern/brush.c
|
|
|
|
|
intern/bullet.c
|
|
|
|
|
intern/bvhutils.c
|
2011-11-05 13:00:39 +00:00
|
|
|
intern/camera.c
|
2010-10-23 04:05:55 +00:00
|
|
|
intern/cdderivedmesh.c
|
|
|
|
|
intern/cloth.c
|
|
|
|
|
intern/collision.c
|
|
|
|
|
intern/colortools.c
|
|
|
|
|
intern/constraint.c
|
|
|
|
|
intern/context.c
|
2014-09-09 01:43:25 +10:00
|
|
|
intern/crazyspace.c
|
|
|
|
|
intern/curve.c
|
2010-10-23 04:05:55 +00:00
|
|
|
intern/customdata.c
|
|
|
|
|
intern/customdata_file.c
|
2015-01-12 12:03:28 +01:00
|
|
|
intern/data_transfer.c
|
2010-10-23 04:05:55 +00:00
|
|
|
intern/deform.c
|
|
|
|
|
intern/depsgraph.c
|
|
|
|
|
intern/displist.c
|
2011-05-24 07:08:58 +00:00
|
|
|
intern/dynamicpaint.c
|
2011-12-02 03:16:06 +00:00
|
|
|
intern/editderivedmesh.c
|
2013-04-16 05:46:17 +00:00
|
|
|
intern/editmesh.c
|
2013-04-16 05:23:34 +00:00
|
|
|
intern/editmesh_bvh.c
|
2012-03-08 03:25:53 +00:00
|
|
|
intern/effect.c
|
2010-10-23 04:05:55 +00:00
|
|
|
intern/fcurve.c
|
|
|
|
|
intern/fluidsim.c
|
|
|
|
|
intern/fmodifier.c
|
|
|
|
|
intern/font.c
|
2013-03-23 03:00:37 +00:00
|
|
|
intern/freestyle.c
|
2010-10-23 04:05:55 +00:00
|
|
|
intern/gpencil.c
|
|
|
|
|
intern/group.c
|
|
|
|
|
intern/icons.c
|
|
|
|
|
intern/idcode.c
|
|
|
|
|
intern/idprop.c
|
|
|
|
|
intern/image.c
|
|
|
|
|
intern/image_gen.c
|
|
|
|
|
intern/ipo.c
|
|
|
|
|
intern/key.c
|
2011-11-05 13:11:49 +00:00
|
|
|
intern/lamp.c
|
2010-10-23 04:05:55 +00:00
|
|
|
intern/lattice.c
|
|
|
|
|
intern/library.c
|
2014-03-26 16:55:20 +06:00
|
|
|
intern/library_query.c
|
2013-03-23 03:00:37 +00:00
|
|
|
intern/linestyle.c
|
2012-12-15 15:31:50 +00:00
|
|
|
intern/mask.c
|
2012-12-11 22:00:22 +00:00
|
|
|
intern/mask_evaluate.c
|
|
|
|
|
intern/mask_rasterize.c
|
2010-10-23 04:05:55 +00:00
|
|
|
intern/material.c
|
|
|
|
|
intern/mball.c
|
2015-02-26 14:39:57 +11:00
|
|
|
intern/mball_tessellate.c
|
2010-10-23 04:05:55 +00:00
|
|
|
intern/mesh.c
|
2013-09-09 02:11:44 +00:00
|
|
|
intern/mesh_evaluate.c
|
2014-01-23 22:34:56 +11:00
|
|
|
intern/mesh_mapping.c
|
BKE: Add 'mesh remap' code.
This is the (big!) core of mesh transfer data, it defines a set of structures
to represent a mapping of mesh elements (verts, edges, polys of loops) between
two arbitrary meshes, and code to compute such mappings.
No similarity is required between source and destination meshes (though results
when using complete different meshes are rather unlikely to be useful!).
This code is not bound to data transfer, it is defined to be as generic as possible,
and easy to reuse or extend as needs arise.
Several methods of mapping generation are defined for each element type,
we probably will have to adjust that in future (remove useless ones, add
new ones...).
For loops, you can also define islands (for UVs e.g.) so that loops of a same
destination polygon do not 'spread' across several source islands.
Heavily reviewed and enhanced by Campbell, thanks a lot!
2015-01-09 18:23:17 +01:00
|
|
|
intern/mesh_remap.c
|
2011-02-09 02:28:11 +00:00
|
|
|
intern/mesh_validate.c
|
2010-10-23 04:05:55 +00:00
|
|
|
intern/modifier.c
|
2011-02-27 06:19:40 +00:00
|
|
|
intern/modifiers_bmesh.c
|
2011-11-07 12:55:18 +00:00
|
|
|
intern/movieclip.c
|
2010-10-23 04:05:55 +00:00
|
|
|
intern/multires.c
|
|
|
|
|
intern/nla.c
|
|
|
|
|
intern/node.c
|
|
|
|
|
intern/object.c
|
2012-09-05 02:51:55 +00:00
|
|
|
intern/object_deform.c
|
2014-01-21 12:11:34 +01:00
|
|
|
intern/object_dupli.c
|
2012-03-08 03:25:53 +00:00
|
|
|
intern/ocean.c
|
2015-04-07 11:01:47 +10:00
|
|
|
intern/outliner_treehash.c
|
2010-10-23 04:05:55 +00:00
|
|
|
intern/packedFile.c
|
|
|
|
|
intern/paint.c
|
|
|
|
|
intern/particle.c
|
2015-01-09 11:31:00 +01:00
|
|
|
intern/particle_child.c
|
2014-10-28 16:29:33 +01:00
|
|
|
intern/particle_distribute.c
|
2010-10-23 04:05:55 +00:00
|
|
|
intern/particle_system.c
|
2012-12-15 15:59:25 +00:00
|
|
|
intern/pbvh.c
|
2012-12-30 18:28:36 +00:00
|
|
|
intern/pbvh_bmesh.c
|
2010-10-23 04:05:55 +00:00
|
|
|
intern/pointcache.c
|
|
|
|
|
intern/property.c
|
|
|
|
|
intern/report.c
|
2013-01-23 05:56:22 +00:00
|
|
|
intern/rigidbody.c
|
2010-10-23 04:05:55 +00:00
|
|
|
intern/sca.c
|
|
|
|
|
intern/scene.c
|
|
|
|
|
intern/screen.c
|
|
|
|
|
intern/seqcache.c
|
|
|
|
|
intern/seqeffects.c
|
2012-08-19 15:41:56 +00:00
|
|
|
intern/seqmodifier.c
|
2010-10-23 04:05:55 +00:00
|
|
|
intern/sequencer.c
|
|
|
|
|
intern/shrinkwrap.c
|
|
|
|
|
intern/sketch.c
|
|
|
|
|
intern/smoke.c
|
|
|
|
|
intern/softbody.c
|
|
|
|
|
intern/sound.c
|
2011-08-04 07:12:03 +00:00
|
|
|
intern/speaker.c
|
2010-10-23 04:05:55 +00:00
|
|
|
intern/subsurf_ccg.c
|
|
|
|
|
intern/suggestions.c
|
|
|
|
|
intern/text.c
|
|
|
|
|
intern/texture.c
|
2011-11-07 12:55:18 +00:00
|
|
|
intern/tracking.c
|
2014-06-22 20:19:48 +06:00
|
|
|
intern/tracking_auto.c
|
2013-12-30 17:03:59 +06:00
|
|
|
intern/tracking_detect.c
|
|
|
|
|
intern/tracking_plane_tracker.c
|
|
|
|
|
intern/tracking_region_tracker.c
|
|
|
|
|
intern/tracking_solver.c
|
|
|
|
|
intern/tracking_stabilize.c
|
|
|
|
|
intern/tracking_util.c
|
2010-10-23 04:05:55 +00:00
|
|
|
intern/unit.c
|
|
|
|
|
intern/world.c
|
|
|
|
|
intern/writeavi.c
|
|
|
|
|
intern/writeframeserver.c
|
2013-04-05 16:53:24 +00:00
|
|
|
|
2010-11-29 04:35:56 +00:00
|
|
|
BKE_DerivedMesh.h
|
|
|
|
|
BKE_action.h
|
2012-12-29 10:24:42 +00:00
|
|
|
BKE_addon.h
|
2010-11-29 04:35:56 +00:00
|
|
|
BKE_anim.h
|
|
|
|
|
BKE_animsys.h
|
2014-11-23 14:37:13 +01:00
|
|
|
BKE_appdir.h
|
2010-11-29 04:35:56 +00:00
|
|
|
BKE_armature.h
|
2013-06-18 18:11:52 +00:00
|
|
|
BKE_autoexec.h
|
2010-11-29 04:35:56 +00:00
|
|
|
BKE_blender.h
|
|
|
|
|
BKE_bmfont.h
|
|
|
|
|
BKE_bmfont_types.h
|
|
|
|
|
BKE_boids.h
|
2012-12-15 15:59:25 +00:00
|
|
|
BKE_bpath.h
|
2010-11-29 04:35:56 +00:00
|
|
|
BKE_brush.h
|
|
|
|
|
BKE_bullet.h
|
|
|
|
|
BKE_bvhutils.h
|
2011-11-05 13:00:39 +00:00
|
|
|
BKE_camera.h
|
2012-05-17 23:12:15 +00:00
|
|
|
BKE_ccg.h
|
2010-11-29 04:35:56 +00:00
|
|
|
BKE_cdderivedmesh.h
|
|
|
|
|
BKE_cloth.h
|
|
|
|
|
BKE_collision.h
|
|
|
|
|
BKE_colortools.h
|
|
|
|
|
BKE_constraint.h
|
|
|
|
|
BKE_context.h
|
2014-09-09 01:43:25 +10:00
|
|
|
BKE_crazyspace.h
|
2010-11-29 04:35:56 +00:00
|
|
|
BKE_curve.h
|
|
|
|
|
BKE_customdata.h
|
|
|
|
|
BKE_customdata_file.h
|
2015-01-12 12:03:28 +01:00
|
|
|
BKE_data_transfer.h
|
2010-11-29 04:35:56 +00:00
|
|
|
BKE_deform.h
|
|
|
|
|
BKE_depsgraph.h
|
|
|
|
|
BKE_displist.h
|
2011-11-10 13:00:27 +00:00
|
|
|
BKE_dynamicpaint.h
|
2015-04-07 11:01:47 +10:00
|
|
|
BKE_editmesh.h
|
|
|
|
|
BKE_editmesh_bvh.h
|
2010-11-29 04:35:56 +00:00
|
|
|
BKE_effect.h
|
|
|
|
|
BKE_fcurve.h
|
|
|
|
|
BKE_fluidsim.h
|
|
|
|
|
BKE_font.h
|
2013-03-23 03:00:37 +00:00
|
|
|
BKE_freestyle.h
|
2010-11-29 04:35:56 +00:00
|
|
|
BKE_global.h
|
|
|
|
|
BKE_gpencil.h
|
|
|
|
|
BKE_group.h
|
|
|
|
|
BKE_icons.h
|
|
|
|
|
BKE_idcode.h
|
|
|
|
|
BKE_idprop.h
|
|
|
|
|
BKE_image.h
|
|
|
|
|
BKE_ipo.h
|
|
|
|
|
BKE_key.h
|
2011-11-05 13:11:49 +00:00
|
|
|
BKE_lamp.h
|
2010-11-29 04:35:56 +00:00
|
|
|
BKE_lattice.h
|
|
|
|
|
BKE_library.h
|
2014-03-26 16:55:20 +06:00
|
|
|
BKE_library_query.h
|
2013-03-23 03:00:37 +00:00
|
|
|
BKE_linestyle.h
|
2010-11-29 04:35:56 +00:00
|
|
|
BKE_main.h
|
2012-10-14 13:08:19 +00:00
|
|
|
BKE_mask.h
|
2010-11-29 04:35:56 +00:00
|
|
|
BKE_material.h
|
|
|
|
|
BKE_mball.h
|
2015-02-26 14:39:57 +11:00
|
|
|
BKE_mball_tessellate.h
|
2010-11-29 04:35:56 +00:00
|
|
|
BKE_mesh.h
|
2014-01-23 22:34:56 +11:00
|
|
|
BKE_mesh_mapping.h
|
BKE: Add 'mesh remap' code.
This is the (big!) core of mesh transfer data, it defines a set of structures
to represent a mapping of mesh elements (verts, edges, polys of loops) between
two arbitrary meshes, and code to compute such mappings.
No similarity is required between source and destination meshes (though results
when using complete different meshes are rather unlikely to be useful!).
This code is not bound to data transfer, it is defined to be as generic as possible,
and easy to reuse or extend as needs arise.
Several methods of mapping generation are defined for each element type,
we probably will have to adjust that in future (remove useless ones, add
new ones...).
For loops, you can also define islands (for UVs e.g.) so that loops of a same
destination polygon do not 'spread' across several source islands.
Heavily reviewed and enhanced by Campbell, thanks a lot!
2015-01-09 18:23:17 +01:00
|
|
|
BKE_mesh_remap.h
|
2010-11-29 04:35:56 +00:00
|
|
|
BKE_modifier.h
|
2011-11-07 12:55:18 +00:00
|
|
|
BKE_movieclip.h
|
2010-11-29 04:35:56 +00:00
|
|
|
BKE_multires.h
|
|
|
|
|
BKE_nla.h
|
|
|
|
|
BKE_node.h
|
|
|
|
|
BKE_object.h
|
2012-09-05 02:51:55 +00:00
|
|
|
BKE_object_deform.h
|
2012-03-08 03:25:53 +00:00
|
|
|
BKE_ocean.h
|
2015-04-07 11:01:47 +10:00
|
|
|
BKE_outliner_treehash.h
|
2010-11-29 04:35:56 +00:00
|
|
|
BKE_packedFile.h
|
|
|
|
|
BKE_paint.h
|
|
|
|
|
BKE_particle.h
|
2012-12-15 15:59:25 +00:00
|
|
|
BKE_pbvh.h
|
2010-11-29 04:35:56 +00:00
|
|
|
BKE_pointcache.h
|
|
|
|
|
BKE_property.h
|
|
|
|
|
BKE_report.h
|
2013-01-23 05:56:22 +00:00
|
|
|
BKE_rigidbody.h
|
2010-11-29 04:35:56 +00:00
|
|
|
BKE_sca.h
|
|
|
|
|
BKE_scene.h
|
|
|
|
|
BKE_screen.h
|
|
|
|
|
BKE_sequencer.h
|
|
|
|
|
BKE_shrinkwrap.h
|
|
|
|
|
BKE_sketch.h
|
|
|
|
|
BKE_smoke.h
|
|
|
|
|
BKE_softbody.h
|
|
|
|
|
BKE_sound.h
|
2011-08-04 07:12:03 +00:00
|
|
|
BKE_speaker.h
|
2010-11-29 04:35:56 +00:00
|
|
|
BKE_subsurf.h
|
|
|
|
|
BKE_suggestions.h
|
|
|
|
|
BKE_text.h
|
|
|
|
|
BKE_texture.h
|
2011-11-07 12:55:18 +00:00
|
|
|
BKE_tracking.h
|
2010-11-29 04:35:56 +00:00
|
|
|
BKE_unit.h
|
|
|
|
|
BKE_utildefines.h
|
|
|
|
|
BKE_world.h
|
|
|
|
|
BKE_writeavi.h
|
|
|
|
|
BKE_writeframeserver.h
|
2012-12-15 15:31:50 +00:00
|
|
|
|
2010-11-29 04:35:56 +00:00
|
|
|
depsgraph_private.h
|
|
|
|
|
nla_private.h
|
2014-01-04 13:13:29 +11:00
|
|
|
tracking_private.h
|
2012-03-08 03:25:53 +00:00
|
|
|
intern/CCGSubSurf.h
|
2012-12-30 18:25:36 +00:00
|
|
|
intern/pbvh_intern.h
|
Transfer Data: add main core code and operators.
This add code needed to map a CD data layout from source mesh towards destination one,
and code needed to actually transfer data, using BKE's mesh remap generated data.
This allows to transfer most CD layers (vgroups, vcols, uvs...) as well as fake, boolean ones
(like smooth/sharp edges/faces, etc.). Some types are not yet transferable, mainly
shape keys, this is known TODO.
Data transfer can also use some advanced mixing in some cases (mostly, vgroups and vcols).
Notes:
* New transfer operators transfer data from active object towards selected ones.
* Modifier will be committed separately.
* Old weight transfer code (for vgroups) is kept for now, mostly because it is the only
usable one in weightpaint mode (it transfers from selected object to active one,
this is not sensible in Object mode, but needed in WeightPaint one). This will be addressed soon.
Again, heavily reviewed and enhanced by Campbell, thanks!
2015-01-09 19:11:40 +01:00
|
|
|
intern/data_transfer_intern.h
|
2010-10-23 04:05:55 +00:00
|
|
|
)
|
2010-04-11 22:12:30 +00:00
|
|
|
|
2014-12-07 13:21:02 +01:00
|
|
|
if(WITH_BINRELOC)
|
|
|
|
|
list(APPEND INC_SYS
|
|
|
|
|
${BINRELOC_INCLUDE_DIRS}
|
|
|
|
|
)
|
|
|
|
|
add_definitions(-DWITH_BINRELOC)
|
|
|
|
|
endif()
|
|
|
|
|
|
2014-10-07 15:46:19 -05:00
|
|
|
add_definitions(${GL_DEFINITIONS})
|
2009-11-21 20:36:03 +00:00
|
|
|
|
2014-11-23 14:37:13 +01:00
|
|
|
if(WIN32)
|
|
|
|
|
list(APPEND INC
|
|
|
|
|
../../../intern/utfconv
|
|
|
|
|
)
|
|
|
|
|
endif()
|
|
|
|
|
|
2011-06-23 09:27:56 +00:00
|
|
|
if(WITH_AUDASPACE)
|
|
|
|
|
list(APPEND INC
|
|
|
|
|
../../../intern/audaspace/intern
|
|
|
|
|
)
|
|
|
|
|
add_definitions(-DWITH_AUDASPACE)
|
|
|
|
|
endif()
|
|
|
|
|
|
2010-12-08 08:43:06 +00:00
|
|
|
if(WITH_BULLET)
|
2012-10-14 08:49:01 +00:00
|
|
|
list(APPEND INC_SYS
|
2013-01-03 00:23:52 +00:00
|
|
|
${BULLET_INCLUDE_DIRS}
|
2011-07-16 23:01:14 +00:00
|
|
|
)
|
2013-01-23 07:26:39 +00:00
|
|
|
list(APPEND INC
|
2013-02-01 06:24:49 +00:00
|
|
|
../../../intern/rigidbody
|
2013-01-23 07:26:39 +00:00
|
|
|
)
|
|
|
|
|
add_definitions(-DWITH_BULLET)
|
2010-12-08 08:43:06 +00:00
|
|
|
endif()
|
2006-11-17 02:27:12 +00:00
|
|
|
|
2012-12-04 14:43:42 +00:00
|
|
|
#if(WITH_MOD_CLOTH_ELTOPO)
|
|
|
|
|
# list(APPEND INC
|
|
|
|
|
# ../../../extern/eltopo
|
|
|
|
|
# ../../../extern/eltopo/eltopo3d
|
|
|
|
|
# )
|
|
|
|
|
# add_definitions(-DWITH_ELTOPO)
|
|
|
|
|
#endif()
|
2011-05-01 21:39:13 +00:00
|
|
|
|
2010-12-08 08:43:06 +00:00
|
|
|
if(WITH_IMAGE_OPENEXR)
|
|
|
|
|
add_definitions(-DWITH_OPENEXR)
|
|
|
|
|
endif()
|
2006-11-17 02:27:12 +00:00
|
|
|
|
2010-12-08 08:43:06 +00:00
|
|
|
if(WITH_IMAGE_TIFF)
|
|
|
|
|
add_definitions(-DWITH_TIFF)
|
|
|
|
|
endif()
|
2010-05-21 03:25:38 +00:00
|
|
|
|
2014-09-09 01:43:25 +10:00
|
|
|
if(WITH_OPENIMAGEIO)
|
|
|
|
|
add_definitions(-DWITH_OPENIMAGEIO)
|
|
|
|
|
endif()
|
|
|
|
|
|
2010-12-08 08:43:06 +00:00
|
|
|
if(WITH_IMAGE_OPENJPEG)
|
|
|
|
|
add_definitions(-DWITH_OPENJPEG)
|
|
|
|
|
endif()
|
2009-09-18 22:25:49 +00:00
|
|
|
|
2010-12-08 08:43:06 +00:00
|
|
|
if(WITH_IMAGE_DDS)
|
|
|
|
|
add_definitions(-DWITH_DDS)
|
|
|
|
|
endif()
|
2010-08-03 11:25:34 +00:00
|
|
|
|
2010-12-08 08:43:06 +00:00
|
|
|
if(WITH_IMAGE_CINEON)
|
|
|
|
|
add_definitions(-DWITH_CINEON)
|
|
|
|
|
endif()
|
2010-08-03 11:25:34 +00:00
|
|
|
|
2011-07-21 23:06:51 +00:00
|
|
|
if(WITH_IMAGE_FRAMESERVER)
|
|
|
|
|
add_definitions(-DWITH_FRAMESERVER)
|
|
|
|
|
endif()
|
|
|
|
|
|
2010-12-08 08:43:06 +00:00
|
|
|
if(WITH_IMAGE_HDR)
|
|
|
|
|
add_definitions(-DWITH_HDR)
|
|
|
|
|
endif()
|
2008-10-28 18:33:34 +00:00
|
|
|
|
2012-10-08 02:51:42 +00:00
|
|
|
if(WITH_CODEC_AVI)
|
|
|
|
|
list(APPEND INC
|
|
|
|
|
../avi
|
|
|
|
|
)
|
|
|
|
|
add_definitions(-DWITH_AVI)
|
|
|
|
|
endif()
|
|
|
|
|
|
2010-12-08 08:43:06 +00:00
|
|
|
if(WITH_CODEC_QUICKTIME)
|
2011-07-16 23:01:14 +00:00
|
|
|
list(APPEND INC
|
|
|
|
|
../quicktime
|
|
|
|
|
)
|
|
|
|
|
list(APPEND INC_SYS
|
|
|
|
|
${QUICKTIME_INCLUDE_DIRS}
|
|
|
|
|
)
|
2010-12-08 08:43:06 +00:00
|
|
|
add_definitions(-DWITH_QUICKTIME)
|
|
|
|
|
endif()
|
2006-11-17 02:27:12 +00:00
|
|
|
|
2010-12-08 08:43:06 +00:00
|
|
|
if(WITH_CODEC_FFMPEG)
|
2012-03-20 22:00:21 +00:00
|
|
|
list(APPEND SRC
|
|
|
|
|
intern/writeffmpeg.c
|
|
|
|
|
BKE_writeffmpeg.h
|
|
|
|
|
)
|
2011-07-16 23:01:14 +00:00
|
|
|
list(APPEND INC
|
|
|
|
|
../../../intern/ffmpeg
|
|
|
|
|
)
|
|
|
|
|
list(APPEND INC_SYS
|
|
|
|
|
${FFMPEG_INCLUDE_DIRS}
|
|
|
|
|
)
|
2010-12-08 08:43:06 +00:00
|
|
|
add_definitions(-DWITH_FFMPEG)
|
2011-10-23 17:52:20 +00:00
|
|
|
|
|
|
|
|
remove_strict_flags_file(
|
|
|
|
|
intern/writeffmpeg.c
|
|
|
|
|
)
|
2010-12-08 08:43:06 +00:00
|
|
|
endif()
|
2006-11-17 02:27:12 +00:00
|
|
|
|
2010-12-08 08:43:06 +00:00
|
|
|
if(WITH_PYTHON)
|
2011-07-16 23:01:14 +00:00
|
|
|
list(APPEND INC
|
|
|
|
|
../python
|
|
|
|
|
)
|
2010-12-08 08:43:06 +00:00
|
|
|
add_definitions(-DWITH_PYTHON)
|
2011-04-28 06:20:47 +00:00
|
|
|
|
|
|
|
|
if(WITH_PYTHON_SECURITY)
|
|
|
|
|
add_definitions(-DWITH_PYTHON_SECURITY)
|
|
|
|
|
endif()
|
2010-12-08 08:43:06 +00:00
|
|
|
endif()
|
2006-11-17 02:27:12 +00:00
|
|
|
|
2011-10-29 23:56:07 +00:00
|
|
|
if(WITH_MOD_FLUID)
|
2012-03-27 00:17:57 +00:00
|
|
|
list(APPEND INC
|
|
|
|
|
../../../intern/elbeem/extern
|
|
|
|
|
)
|
2011-10-29 23:56:07 +00:00
|
|
|
add_definitions(-DWITH_MOD_FLUID)
|
2010-12-08 08:43:06 +00:00
|
|
|
endif()
|
2006-12-06 09:24:13 +00:00
|
|
|
|
2011-07-13 18:40:21 +00:00
|
|
|
if(WITH_MOD_SMOKE)
|
|
|
|
|
add_definitions(-DWITH_SMOKE)
|
|
|
|
|
endif()
|
|
|
|
|
|
2011-11-13 14:16:43 +00:00
|
|
|
if(WITH_MOD_OCEANSIM)
|
2011-11-13 12:17:27 +00:00
|
|
|
add_definitions(-DWITH_OCEANSIM)
|
|
|
|
|
endif()
|
|
|
|
|
|
2010-12-08 08:43:06 +00:00
|
|
|
if(WITH_JACK)
|
|
|
|
|
add_definitions(-DWITH_JACK)
|
|
|
|
|
endif()
|
2010-10-02 15:27:55 +00:00
|
|
|
|
2010-12-08 08:43:06 +00:00
|
|
|
if(WITH_LZO)
|
2015-03-13 22:33:31 +11:00
|
|
|
if(WITH_SYSTEM_LZO)
|
|
|
|
|
list(APPEND INC_SYS
|
|
|
|
|
${LZO_INCLUDE_DIR}
|
|
|
|
|
)
|
|
|
|
|
add_definitions(-DWITH_SYSTEM_LZO)
|
|
|
|
|
else()
|
|
|
|
|
list(APPEND INC_SYS
|
|
|
|
|
../../../extern/lzo/minilzo
|
|
|
|
|
)
|
|
|
|
|
endif()
|
2010-12-08 08:43:06 +00:00
|
|
|
add_definitions(-DWITH_LZO)
|
|
|
|
|
endif()
|
2009-09-25 02:40:10 +00:00
|
|
|
|
2010-12-08 08:43:06 +00:00
|
|
|
if(WITH_LZMA)
|
2011-07-16 23:01:14 +00:00
|
|
|
list(APPEND INC_SYS
|
|
|
|
|
../../../extern/lzma
|
|
|
|
|
)
|
2010-12-08 08:43:06 +00:00
|
|
|
add_definitions(-DWITH_LZMA)
|
|
|
|
|
endif()
|
2009-09-25 02:40:10 +00:00
|
|
|
|
2011-09-11 14:13:04 +00:00
|
|
|
if(WITH_GAMEENGINE)
|
|
|
|
|
list(APPEND INC_SYS
|
2011-10-09 21:43:13 +00:00
|
|
|
../../../extern/recastnavigation
|
2011-09-11 14:13:04 +00:00
|
|
|
)
|
|
|
|
|
list(APPEND SRC
|
2011-09-20 16:24:50 +00:00
|
|
|
intern/navmesh_conversion.c
|
2011-09-11 14:13:04 +00:00
|
|
|
BKE_navmesh_conversion.h
|
|
|
|
|
)
|
|
|
|
|
|
2011-10-09 21:11:51 +00:00
|
|
|
add_definitions(-DWITH_GAMEENGINE)
|
2010-12-08 08:43:06 +00:00
|
|
|
endif()
|
2006-12-06 00:04:53 +00:00
|
|
|
|
2011-11-07 12:55:18 +00:00
|
|
|
if(WITH_LIBMV)
|
|
|
|
|
add_definitions(-DWITH_LIBMV)
|
|
|
|
|
endif()
|
|
|
|
|
|
2011-11-13 12:17:27 +00:00
|
|
|
if(WITH_FFTW3)
|
2011-11-13 15:17:24 +00:00
|
|
|
list(APPEND INC_SYS
|
|
|
|
|
${FFTW3_INCLUDE_DIRS}
|
|
|
|
|
)
|
2011-11-13 12:17:27 +00:00
|
|
|
add_definitions(-DFFTW3=1)
|
|
|
|
|
endif()
|
|
|
|
|
|
2012-03-17 12:07:58 +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()
|
|
|
|
|
|
2011-09-27 12:08:35 +00:00
|
|
|
## Warnings as errors, this is too strict!
|
|
|
|
|
#if(MSVC)
|
|
|
|
|
# set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /WX")
|
|
|
|
|
#endif()
|
2009-01-23 20:36:47 +00:00
|
|
|
|
2011-05-31 01:15:44 +00:00
|
|
|
blender_add_lib(bf_blenkernel "${SRC}" "${INC}" "${INC_SYS}")
|