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.
|
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
|
2019-04-17 06:17:24 +02:00
|
|
|
.
|
|
|
|
|
../blenfont
|
|
|
|
|
../blenlib
|
|
|
|
|
../blenloader
|
|
|
|
|
../blentranslation
|
|
|
|
|
../depsgraph
|
|
|
|
|
../draw
|
|
|
|
|
../gpu
|
|
|
|
|
../ikplugin
|
|
|
|
|
../imbuf
|
|
|
|
|
../makesdna
|
|
|
|
|
../makesrna
|
|
|
|
|
../bmesh
|
|
|
|
|
../modifiers
|
|
|
|
|
../gpencil_modifiers
|
|
|
|
|
../shader_fx
|
|
|
|
|
../nodes
|
|
|
|
|
../physics
|
|
|
|
|
../render/extern/include
|
|
|
|
|
../../../intern/ghost
|
|
|
|
|
../../../intern/guardedalloc
|
|
|
|
|
../../../intern/glew-mx
|
|
|
|
|
../../../intern/iksolver/extern
|
|
|
|
|
../../../intern/memutil
|
|
|
|
|
../../../intern/mikktspace
|
|
|
|
|
../../../intern/atomic
|
|
|
|
|
../../../intern/clog
|
|
|
|
|
../../../intern/libmv
|
|
|
|
|
../../../intern/opensubdiv
|
|
|
|
|
../../../extern/curve_fit_nd
|
2011-05-31 01:15:44 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
|
|
set(INC_SYS
|
2019-04-17 06:17:24 +02:00
|
|
|
${GLEW_INCLUDE_PATH}
|
|
|
|
|
${ZLIB_INCLUDE_DIRS}
|
2006-11-17 02:27:12 +00:00
|
|
|
)
|
|
|
|
|
|
2010-12-08 08:43:06 +00:00
|
|
|
set(SRC
|
2019-04-17 06:17:24 +02:00
|
|
|
intern/CCGSubSurf.c
|
|
|
|
|
intern/CCGSubSurf_legacy.c
|
|
|
|
|
intern/CCGSubSurf_opensubdiv.c
|
|
|
|
|
intern/CCGSubSurf_opensubdiv_converter.c
|
|
|
|
|
intern/CCGSubSurf_util.c
|
|
|
|
|
intern/DerivedMesh.c
|
|
|
|
|
intern/action.c
|
|
|
|
|
intern/addon.c
|
|
|
|
|
intern/anim.c
|
|
|
|
|
intern/anim_sys.c
|
|
|
|
|
intern/appdir.c
|
|
|
|
|
intern/armature.c
|
|
|
|
|
intern/armature_update.c
|
|
|
|
|
intern/autoexec.c
|
|
|
|
|
intern/blender.c
|
|
|
|
|
intern/blender_copybuffer.c
|
|
|
|
|
intern/blender_undo.c
|
|
|
|
|
intern/blender_user_menu.c
|
|
|
|
|
intern/blendfile.c
|
|
|
|
|
intern/boids.c
|
|
|
|
|
intern/bpath.c
|
|
|
|
|
intern/brush.c
|
|
|
|
|
intern/bvhutils.c
|
|
|
|
|
intern/cachefile.c
|
|
|
|
|
intern/camera.c
|
|
|
|
|
intern/cdderivedmesh.c
|
|
|
|
|
intern/cloth.c
|
|
|
|
|
intern/collection.c
|
|
|
|
|
intern/collision.c
|
|
|
|
|
intern/colorband.c
|
|
|
|
|
intern/colortools.c
|
|
|
|
|
intern/constraint.c
|
|
|
|
|
intern/context.c
|
|
|
|
|
intern/crazyspace.c
|
|
|
|
|
intern/curve.c
|
|
|
|
|
intern/curve_decimate.c
|
|
|
|
|
intern/customdata.c
|
|
|
|
|
intern/customdata_file.c
|
|
|
|
|
intern/data_transfer.c
|
|
|
|
|
intern/deform.c
|
|
|
|
|
intern/displist.c
|
|
|
|
|
intern/dynamicpaint.c
|
|
|
|
|
intern/editderivedmesh.c
|
|
|
|
|
intern/editlattice.c
|
|
|
|
|
intern/editmesh.c
|
|
|
|
|
intern/editmesh_bvh.c
|
|
|
|
|
intern/editmesh_cache.c
|
|
|
|
|
intern/editmesh_tangent.c
|
|
|
|
|
intern/effect.c
|
|
|
|
|
intern/fcurve.c
|
|
|
|
|
intern/fluidsim.c
|
|
|
|
|
intern/fmodifier.c
|
|
|
|
|
intern/font.c
|
|
|
|
|
intern/freestyle.c
|
|
|
|
|
intern/gpencil.c
|
|
|
|
|
intern/gpencil_modifier.c
|
|
|
|
|
intern/icons.c
|
|
|
|
|
intern/icons_rasterize.c
|
|
|
|
|
intern/idcode.c
|
|
|
|
|
intern/idprop.c
|
|
|
|
|
intern/idprop_utils.c
|
|
|
|
|
intern/image.c
|
|
|
|
|
intern/image_gen.c
|
|
|
|
|
intern/ipo.c
|
|
|
|
|
intern/key.c
|
|
|
|
|
intern/keyconfig.c
|
|
|
|
|
intern/lattice.c
|
|
|
|
|
intern/layer.c
|
|
|
|
|
intern/layer_utils.c
|
|
|
|
|
intern/library.c
|
|
|
|
|
intern/library_idmap.c
|
|
|
|
|
intern/library_override.c
|
|
|
|
|
intern/library_query.c
|
|
|
|
|
intern/library_remap.c
|
|
|
|
|
intern/light.c
|
|
|
|
|
intern/lightprobe.c
|
|
|
|
|
intern/linestyle.c
|
|
|
|
|
intern/main.c
|
|
|
|
|
intern/mask.c
|
|
|
|
|
intern/mask_evaluate.c
|
|
|
|
|
intern/mask_rasterize.c
|
|
|
|
|
intern/material.c
|
|
|
|
|
intern/mball.c
|
|
|
|
|
intern/mball_tessellate.c
|
|
|
|
|
intern/mesh.c
|
|
|
|
|
intern/mesh_convert.c
|
|
|
|
|
intern/mesh_evaluate.c
|
|
|
|
|
intern/mesh_iterators.c
|
|
|
|
|
intern/mesh_mapping.c
|
|
|
|
|
intern/mesh_merge.c
|
|
|
|
|
intern/mesh_remap.c
|
|
|
|
|
intern/mesh_runtime.c
|
|
|
|
|
intern/mesh_tangent.c
|
|
|
|
|
intern/mesh_validate.c
|
|
|
|
|
intern/modifier.c
|
|
|
|
|
intern/movieclip.c
|
|
|
|
|
intern/multires.c
|
|
|
|
|
intern/multires_reshape.c
|
|
|
|
|
intern/multires_subdiv.c
|
|
|
|
|
intern/nla.c
|
|
|
|
|
intern/node.c
|
|
|
|
|
intern/object.c
|
|
|
|
|
intern/object_deform.c
|
|
|
|
|
intern/object_dupli.c
|
|
|
|
|
intern/object_facemap.c
|
|
|
|
|
intern/object_update.c
|
|
|
|
|
intern/ocean.c
|
|
|
|
|
intern/outliner_treehash.c
|
|
|
|
|
intern/packedFile.c
|
|
|
|
|
intern/paint.c
|
|
|
|
|
intern/paint_toolslots.c
|
|
|
|
|
intern/particle.c
|
|
|
|
|
intern/particle_child.c
|
|
|
|
|
intern/particle_distribute.c
|
|
|
|
|
intern/particle_system.c
|
|
|
|
|
intern/pbvh.c
|
|
|
|
|
intern/pbvh_bmesh.c
|
|
|
|
|
intern/pointcache.c
|
|
|
|
|
intern/report.c
|
|
|
|
|
intern/rigidbody.c
|
|
|
|
|
intern/scene.c
|
|
|
|
|
intern/screen.c
|
|
|
|
|
intern/seqcache.c
|
|
|
|
|
intern/seqeffects.c
|
|
|
|
|
intern/seqmodifier.c
|
|
|
|
|
intern/sequencer.c
|
|
|
|
|
intern/shader_fx.c
|
|
|
|
|
intern/shrinkwrap.c
|
|
|
|
|
intern/smoke.c
|
|
|
|
|
intern/softbody.c
|
|
|
|
|
intern/sound.c
|
|
|
|
|
intern/speaker.c
|
|
|
|
|
intern/studiolight.c
|
|
|
|
|
intern/subdiv.c
|
|
|
|
|
intern/subdiv_ccg.c
|
|
|
|
|
intern/subdiv_ccg_mask.c
|
|
|
|
|
intern/subdiv_ccg_material.c
|
|
|
|
|
intern/subdiv_converter.c
|
|
|
|
|
intern/subdiv_converter_mesh.c
|
|
|
|
|
intern/subdiv_displacement.c
|
|
|
|
|
intern/subdiv_displacement_multires.c
|
|
|
|
|
intern/subdiv_eval.c
|
|
|
|
|
intern/subdiv_foreach.c
|
|
|
|
|
intern/subdiv_mesh.c
|
|
|
|
|
intern/subdiv_stats.c
|
|
|
|
|
intern/subsurf_ccg.c
|
|
|
|
|
intern/suggestions.c
|
|
|
|
|
intern/text.c
|
|
|
|
|
intern/texture.c
|
|
|
|
|
intern/tracking.c
|
|
|
|
|
intern/tracking_auto.c
|
|
|
|
|
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
|
|
|
|
|
intern/undo_system.c
|
|
|
|
|
intern/unit.c
|
|
|
|
|
intern/workspace.c
|
|
|
|
|
intern/world.c
|
|
|
|
|
intern/writeavi.c
|
|
|
|
|
|
|
|
|
|
BKE_DerivedMesh.h
|
|
|
|
|
BKE_action.h
|
|
|
|
|
BKE_addon.h
|
|
|
|
|
BKE_anim.h
|
|
|
|
|
BKE_animsys.h
|
|
|
|
|
BKE_appdir.h
|
|
|
|
|
BKE_armature.h
|
|
|
|
|
BKE_autoexec.h
|
|
|
|
|
BKE_blender.h
|
|
|
|
|
BKE_blender_copybuffer.h
|
|
|
|
|
BKE_blender_undo.h
|
|
|
|
|
BKE_blender_user_menu.h
|
|
|
|
|
BKE_blender_version.h
|
|
|
|
|
BKE_blendfile.h
|
|
|
|
|
BKE_boids.h
|
|
|
|
|
BKE_bpath.h
|
|
|
|
|
BKE_brush.h
|
|
|
|
|
BKE_bvhutils.h
|
|
|
|
|
BKE_cachefile.h
|
|
|
|
|
BKE_camera.h
|
|
|
|
|
BKE_ccg.h
|
|
|
|
|
BKE_cdderivedmesh.h
|
|
|
|
|
BKE_cloth.h
|
|
|
|
|
BKE_collection.h
|
|
|
|
|
BKE_collision.h
|
|
|
|
|
BKE_colorband.h
|
|
|
|
|
BKE_colortools.h
|
|
|
|
|
BKE_constraint.h
|
|
|
|
|
BKE_context.h
|
|
|
|
|
BKE_crazyspace.h
|
|
|
|
|
BKE_curve.h
|
|
|
|
|
BKE_customdata.h
|
|
|
|
|
BKE_customdata_file.h
|
|
|
|
|
BKE_data_transfer.h
|
|
|
|
|
BKE_deform.h
|
|
|
|
|
BKE_displist.h
|
|
|
|
|
BKE_dynamicpaint.h
|
|
|
|
|
BKE_editlattice.h
|
|
|
|
|
BKE_editmesh.h
|
|
|
|
|
BKE_editmesh_bvh.h
|
|
|
|
|
BKE_editmesh_cache.h
|
|
|
|
|
BKE_editmesh_tangent.h
|
|
|
|
|
BKE_effect.h
|
|
|
|
|
BKE_fcurve.h
|
|
|
|
|
BKE_fluidsim.h
|
|
|
|
|
BKE_font.h
|
|
|
|
|
BKE_freestyle.h
|
|
|
|
|
BKE_global.h
|
|
|
|
|
BKE_gpencil.h
|
|
|
|
|
BKE_gpencil_modifier.h
|
|
|
|
|
BKE_icons.h
|
|
|
|
|
BKE_idcode.h
|
|
|
|
|
BKE_idprop.h
|
|
|
|
|
BKE_image.h
|
|
|
|
|
BKE_ipo.h
|
|
|
|
|
BKE_key.h
|
|
|
|
|
BKE_keyconfig.h
|
|
|
|
|
BKE_lattice.h
|
|
|
|
|
BKE_layer.h
|
|
|
|
|
BKE_library.h
|
|
|
|
|
BKE_library_idmap.h
|
|
|
|
|
BKE_library_override.h
|
|
|
|
|
BKE_library_query.h
|
|
|
|
|
BKE_library_remap.h
|
|
|
|
|
BKE_light.h
|
|
|
|
|
BKE_lightprobe.h
|
|
|
|
|
BKE_linestyle.h
|
|
|
|
|
BKE_main.h
|
|
|
|
|
BKE_mask.h
|
|
|
|
|
BKE_material.h
|
|
|
|
|
BKE_mball.h
|
|
|
|
|
BKE_mball_tessellate.h
|
|
|
|
|
BKE_mesh.h
|
|
|
|
|
BKE_mesh_iterators.h
|
|
|
|
|
BKE_mesh_mapping.h
|
|
|
|
|
BKE_mesh_remap.h
|
|
|
|
|
BKE_mesh_runtime.h
|
|
|
|
|
BKE_mesh_tangent.h
|
|
|
|
|
BKE_modifier.h
|
|
|
|
|
BKE_movieclip.h
|
|
|
|
|
BKE_multires.h
|
|
|
|
|
BKE_nla.h
|
|
|
|
|
BKE_node.h
|
|
|
|
|
BKE_object.h
|
|
|
|
|
BKE_object_deform.h
|
|
|
|
|
BKE_object_facemap.h
|
|
|
|
|
BKE_ocean.h
|
|
|
|
|
BKE_outliner_treehash.h
|
|
|
|
|
BKE_packedFile.h
|
|
|
|
|
BKE_paint.h
|
|
|
|
|
BKE_particle.h
|
|
|
|
|
BKE_pbvh.h
|
|
|
|
|
BKE_pointcache.h
|
|
|
|
|
BKE_report.h
|
|
|
|
|
BKE_rigidbody.h
|
|
|
|
|
BKE_scene.h
|
|
|
|
|
BKE_screen.h
|
|
|
|
|
BKE_sequencer.h
|
|
|
|
|
BKE_shader_fx.h
|
|
|
|
|
BKE_shrinkwrap.h
|
|
|
|
|
BKE_smoke.h
|
|
|
|
|
BKE_softbody.h
|
|
|
|
|
BKE_sound.h
|
|
|
|
|
BKE_speaker.h
|
|
|
|
|
BKE_studiolight.h
|
|
|
|
|
BKE_subdiv.h
|
|
|
|
|
BKE_subdiv_ccg.h
|
|
|
|
|
BKE_subdiv_eval.h
|
|
|
|
|
BKE_subdiv_foreach.h
|
|
|
|
|
BKE_subdiv_mesh.h
|
|
|
|
|
BKE_subsurf.h
|
|
|
|
|
BKE_suggestions.h
|
|
|
|
|
BKE_text.h
|
|
|
|
|
BKE_texture.h
|
|
|
|
|
BKE_tracking.h
|
|
|
|
|
BKE_undo_system.h
|
|
|
|
|
BKE_unit.h
|
|
|
|
|
BKE_workspace.h
|
|
|
|
|
BKE_world.h
|
|
|
|
|
BKE_writeavi.h
|
|
|
|
|
|
|
|
|
|
nla_private.h
|
|
|
|
|
particle_private.h
|
|
|
|
|
tracking_private.h
|
|
|
|
|
intern/CCGSubSurf.h
|
|
|
|
|
intern/CCGSubSurf_inline.h
|
|
|
|
|
intern/CCGSubSurf_intern.h
|
|
|
|
|
intern/data_transfer_intern.h
|
|
|
|
|
intern/multires_inline.h
|
|
|
|
|
intern/pbvh_intern.h
|
|
|
|
|
intern/subdiv_converter.h
|
|
|
|
|
intern/subdiv_inline.h
|
2010-10-23 04:05:55 +00:00
|
|
|
)
|
2010-04-11 22:12:30 +00:00
|
|
|
|
2019-04-14 15:18:44 +02:00
|
|
|
set(LIB
|
2019-04-17 06:17:24 +02:00
|
|
|
bf_blenfont
|
|
|
|
|
bf_blenlib
|
|
|
|
|
bf_blenloader
|
|
|
|
|
bf_blentranslation
|
|
|
|
|
bf_bmesh
|
|
|
|
|
bf_depsgraph
|
|
|
|
|
bf_draw
|
|
|
|
|
bf_gpencil_modifiers
|
|
|
|
|
bf_gpu
|
|
|
|
|
bf_ikplugin
|
|
|
|
|
bf_imbuf
|
|
|
|
|
bf_intern_clog
|
|
|
|
|
bf_intern_ghost
|
|
|
|
|
bf_intern_guardedalloc
|
|
|
|
|
bf_intern_libmv # Uses stub when disabled.
|
|
|
|
|
bf_intern_mikktspace
|
|
|
|
|
bf_intern_opensubdiv # Uses stub when disabled.
|
|
|
|
|
bf_modifiers
|
|
|
|
|
bf_nodes
|
|
|
|
|
bf_physics
|
|
|
|
|
bf_python
|
|
|
|
|
bf_python_bmesh
|
|
|
|
|
bf_rna
|
|
|
|
|
bf_shader_fx
|
2019-04-14 15:18:44 +02:00
|
|
|
)
|
|
|
|
|
|
2014-12-07 13:21:02 +01:00
|
|
|
if(WITH_BINRELOC)
|
2019-04-17 06:17:24 +02:00
|
|
|
list(APPEND INC_SYS
|
|
|
|
|
${BINRELOC_INCLUDE_DIRS}
|
|
|
|
|
)
|
|
|
|
|
list(APPEND LIB
|
|
|
|
|
extern_binreloc
|
|
|
|
|
)
|
|
|
|
|
add_definitions(-DWITH_BINRELOC)
|
2014-12-07 13:21:02 +01:00
|
|
|
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)
|
2019-04-17 06:17:24 +02:00
|
|
|
list(APPEND INC
|
|
|
|
|
../../../intern/utfconv
|
|
|
|
|
)
|
2014-11-23 14:37:13 +01:00
|
|
|
endif()
|
|
|
|
|
|
2011-06-23 09:27:56 +00:00
|
|
|
if(WITH_AUDASPACE)
|
2019-04-17 06:17:24 +02:00
|
|
|
add_definitions(-DWITH_AUDASPACE)
|
2014-03-04 13:44:15 +01:00
|
|
|
|
2019-04-17 06:17:24 +02:00
|
|
|
list(APPEND INC_SYS
|
|
|
|
|
${AUDASPACE_C_INCLUDE_DIRS}
|
|
|
|
|
)
|
2011-06-23 09:27:56 +00:00
|
|
|
endif()
|
|
|
|
|
|
2010-12-08 08:43:06 +00:00
|
|
|
if(WITH_BULLET)
|
2019-04-17 06:17:24 +02:00
|
|
|
list(APPEND INC_SYS
|
|
|
|
|
${BULLET_INCLUDE_DIRS}
|
|
|
|
|
)
|
|
|
|
|
list(APPEND INC
|
|
|
|
|
../../../intern/rigidbody
|
|
|
|
|
)
|
|
|
|
|
list(APPEND LIB
|
|
|
|
|
bf_intern_rigidbody
|
|
|
|
|
extern_bullet
|
|
|
|
|
)
|
|
|
|
|
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)
|
2019-04-17 06:17:24 +02:00
|
|
|
# list(APPEND INC
|
|
|
|
|
# ../../../extern/eltopo
|
|
|
|
|
# ../../../extern/eltopo/eltopo3d
|
|
|
|
|
# )
|
|
|
|
|
# add_definitions(-DWITH_ELTOPO)
|
2012-12-04 14:43:42 +00:00
|
|
|
#endif()
|
2011-05-01 21:39:13 +00:00
|
|
|
|
2010-12-08 08:43:06 +00:00
|
|
|
if(WITH_IMAGE_OPENEXR)
|
2019-04-17 06:17:24 +02:00
|
|
|
add_definitions(-DWITH_OPENEXR)
|
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_IMAGE_TIFF)
|
2019-04-17 06:17:24 +02:00
|
|
|
add_definitions(-DWITH_TIFF)
|
2010-12-08 08:43:06 +00:00
|
|
|
endif()
|
2010-05-21 03:25:38 +00:00
|
|
|
|
2014-09-09 01:43:25 +10:00
|
|
|
if(WITH_OPENIMAGEIO)
|
2019-04-17 06:17:24 +02:00
|
|
|
add_definitions(-DWITH_OPENIMAGEIO)
|
2014-09-09 01:43:25 +10:00
|
|
|
endif()
|
|
|
|
|
|
2010-12-08 08:43:06 +00:00
|
|
|
if(WITH_IMAGE_OPENJPEG)
|
2019-04-17 06:17:24 +02:00
|
|
|
add_definitions(-DWITH_OPENJPEG)
|
2010-12-08 08:43:06 +00:00
|
|
|
endif()
|
2009-09-18 22:25:49 +00:00
|
|
|
|
2010-12-08 08:43:06 +00:00
|
|
|
if(WITH_IMAGE_DDS)
|
2019-04-17 06:17:24 +02:00
|
|
|
add_definitions(-DWITH_DDS)
|
2010-12-08 08:43:06 +00:00
|
|
|
endif()
|
2010-08-03 11:25:34 +00:00
|
|
|
|
2010-12-08 08:43:06 +00:00
|
|
|
if(WITH_IMAGE_CINEON)
|
2019-04-17 06:17:24 +02:00
|
|
|
add_definitions(-DWITH_CINEON)
|
2010-12-08 08:43:06 +00:00
|
|
|
endif()
|
2010-08-03 11:25:34 +00:00
|
|
|
|
2011-07-21 23:06:51 +00:00
|
|
|
if(WITH_IMAGE_FRAMESERVER)
|
2019-04-17 06:17:24 +02:00
|
|
|
add_definitions(-DWITH_FRAMESERVER)
|
2011-07-21 23:06:51 +00:00
|
|
|
endif()
|
|
|
|
|
|
2010-12-08 08:43:06 +00:00
|
|
|
if(WITH_IMAGE_HDR)
|
2019-04-17 06:17:24 +02:00
|
|
|
add_definitions(-DWITH_HDR)
|
2010-12-08 08:43:06 +00:00
|
|
|
endif()
|
2008-10-28 18:33:34 +00:00
|
|
|
|
2012-10-08 02:51:42 +00:00
|
|
|
if(WITH_CODEC_AVI)
|
2019-04-17 06:17:24 +02:00
|
|
|
list(APPEND INC
|
|
|
|
|
../avi
|
|
|
|
|
)
|
|
|
|
|
add_definitions(-DWITH_AVI)
|
2012-10-08 02:51:42 +00:00
|
|
|
endif()
|
|
|
|
|
|
2010-12-08 08:43:06 +00:00
|
|
|
if(WITH_CODEC_FFMPEG)
|
2019-04-17 06:17:24 +02:00
|
|
|
list(APPEND SRC
|
|
|
|
|
intern/writeffmpeg.c
|
|
|
|
|
BKE_writeffmpeg.h
|
|
|
|
|
)
|
|
|
|
|
list(APPEND INC
|
|
|
|
|
../../../intern/ffmpeg
|
|
|
|
|
)
|
|
|
|
|
list(APPEND INC_SYS
|
|
|
|
|
${FFMPEG_INCLUDE_DIRS}
|
|
|
|
|
)
|
|
|
|
|
add_definitions(-DWITH_FFMPEG)
|
|
|
|
|
|
|
|
|
|
remove_strict_c_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)
|
2019-04-17 06:17:24 +02:00
|
|
|
list(APPEND INC
|
|
|
|
|
../python
|
|
|
|
|
)
|
|
|
|
|
add_definitions(-DWITH_PYTHON)
|
2011-04-28 06:20:47 +00:00
|
|
|
|
2019-04-17 06:17:24 +02:00
|
|
|
if(WITH_PYTHON_SAFETY)
|
|
|
|
|
add_definitions(-DWITH_PYTHON_SAFETY)
|
|
|
|
|
endif()
|
2017-07-27 02:12:40 +10:00
|
|
|
|
2019-04-17 06:17:24 +02:00
|
|
|
if(WITH_PYTHON_SECURITY)
|
|
|
|
|
add_definitions(-DWITH_PYTHON_SECURITY)
|
|
|
|
|
endif()
|
2016-02-15 19:01:28 +11:00
|
|
|
|
|
|
|
|
|
2019-04-17 06:17:24 +02:00
|
|
|
if(PYTHON_EXECUTABLE)
|
|
|
|
|
get_filename_component(_python_exe_name ${PYTHON_EXECUTABLE} NAME)
|
|
|
|
|
add_definitions(-DPYTHON_EXECUTABLE_NAME=${_python_exe_name})
|
|
|
|
|
unset(_python_exe_name)
|
|
|
|
|
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)
|
2019-04-17 06:17:24 +02:00
|
|
|
list(APPEND INC
|
|
|
|
|
../../../intern/elbeem/extern
|
|
|
|
|
)
|
|
|
|
|
list(APPEND LIB
|
|
|
|
|
bf_intern_elbeem
|
|
|
|
|
)
|
|
|
|
|
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)
|
2019-04-17 06:17:24 +02:00
|
|
|
list(APPEND INC
|
|
|
|
|
../../../intern/smoke/extern
|
|
|
|
|
)
|
|
|
|
|
list(APPEND LIB
|
|
|
|
|
bf_intern_smoke
|
|
|
|
|
)
|
|
|
|
|
add_definitions(-DWITH_SMOKE)
|
2011-07-13 18:40:21 +00:00
|
|
|
endif()
|
|
|
|
|
|
2011-11-13 14:16:43 +00:00
|
|
|
if(WITH_MOD_OCEANSIM)
|
2019-04-17 06:17:24 +02:00
|
|
|
add_definitions(-DWITH_OCEANSIM)
|
2011-11-13 12:17:27 +00:00
|
|
|
endif()
|
|
|
|
|
|
2010-12-08 08:43:06 +00:00
|
|
|
if(WITH_JACK)
|
2019-04-17 06:17:24 +02:00
|
|
|
add_definitions(-DWITH_JACK)
|
2010-12-08 08:43:06 +00:00
|
|
|
endif()
|
2010-10-02 15:27:55 +00:00
|
|
|
|
2010-12-08 08:43:06 +00:00
|
|
|
if(WITH_LZO)
|
2019-04-17 06:17:24 +02: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
|
|
|
|
|
)
|
|
|
|
|
list(APPEND LIB
|
|
|
|
|
extern_minilzo
|
|
|
|
|
)
|
|
|
|
|
endif()
|
|
|
|
|
add_definitions(-DWITH_LZO)
|
2010-12-08 08:43:06 +00:00
|
|
|
endif()
|
2009-09-25 02:40:10 +00:00
|
|
|
|
2010-12-08 08:43:06 +00:00
|
|
|
if(WITH_LZMA)
|
2019-04-17 06:17:24 +02:00
|
|
|
list(APPEND INC_SYS
|
|
|
|
|
../../../extern/lzma
|
|
|
|
|
)
|
|
|
|
|
list(APPEND LIB
|
|
|
|
|
extern_lzma
|
|
|
|
|
)
|
|
|
|
|
add_definitions(-DWITH_LZMA)
|
2010-12-08 08:43:06 +00:00
|
|
|
endif()
|
2009-09-25 02:40:10 +00:00
|
|
|
|
2011-11-07 12:55:18 +00:00
|
|
|
if(WITH_LIBMV)
|
2019-04-17 06:17:24 +02:00
|
|
|
add_definitions(-DWITH_LIBMV)
|
2011-11-07 12:55:18 +00:00
|
|
|
endif()
|
|
|
|
|
|
2011-11-13 12:17:27 +00:00
|
|
|
if(WITH_FFTW3)
|
2019-04-17 06:17:24 +02:00
|
|
|
list(APPEND INC_SYS
|
|
|
|
|
${FFTW3_INCLUDE_DIRS}
|
|
|
|
|
)
|
|
|
|
|
add_definitions(-DFFTW3=1)
|
2011-11-13 12:17:27 +00:00
|
|
|
endif()
|
|
|
|
|
|
2012-03-17 12:07:58 +00:00
|
|
|
if(WITH_INTERNATIONAL)
|
2019-04-17 06:17:24 +02:00
|
|
|
add_definitions(-DWITH_INTERNATIONAL)
|
2012-03-17 12:07:58 +00:00
|
|
|
endif()
|
|
|
|
|
|
2012-12-20 07:57:26 +00:00
|
|
|
if(WITH_FREESTYLE)
|
2019-04-17 06:17:24 +02:00
|
|
|
add_definitions(-DWITH_FREESTYLE)
|
2012-12-20 07:57:26 +00:00
|
|
|
endif()
|
|
|
|
|
|
Basic Alembic support
All in all, this patch adds an Alembic importer, an Alembic exporter,
and a new CacheFile data block which, for now, wraps around an Alembic
archive. This data block is made available through a new modifier ("Mesh
Sequence Cache") as well as a new constraint ("Transform Cache") to
somewhat properly support respectively geometric and transformation data
streaming from alembic caches.
A more in-depth documentation is to be found on the wiki, as well as a
guide to compile alembic: https://wiki.blender.org/index.php/
User:Kevindietrich/AlembicBasicIo.
Many thanks to everyone involved in this little project, and huge shout
out to "cgstrive" for the thorough testings with Maya, 3ds Max, Houdini
and Realflow as well as @fjuhec, @jensverwiebe and @jasperge for the
custom builds and compile fixes.
Reviewers: sergey, campbellbarton, mont29
Reviewed By: sergey, campbellbarton, mont29
Differential Revision: https://developer.blender.org/D2060
2016-08-06 06:20:37 +02:00
|
|
|
if(WITH_ALEMBIC)
|
2019-04-17 06:17:24 +02:00
|
|
|
list(APPEND INC
|
|
|
|
|
../alembic
|
|
|
|
|
)
|
|
|
|
|
add_definitions(-DWITH_ALEMBIC)
|
Basic Alembic support
All in all, this patch adds an Alembic importer, an Alembic exporter,
and a new CacheFile data block which, for now, wraps around an Alembic
archive. This data block is made available through a new modifier ("Mesh
Sequence Cache") as well as a new constraint ("Transform Cache") to
somewhat properly support respectively geometric and transformation data
streaming from alembic caches.
A more in-depth documentation is to be found on the wiki, as well as a
guide to compile alembic: https://wiki.blender.org/index.php/
User:Kevindietrich/AlembicBasicIo.
Many thanks to everyone involved in this little project, and huge shout
out to "cgstrive" for the thorough testings with Maya, 3ds Max, Houdini
and Realflow as well as @fjuhec, @jensverwiebe and @jasperge for the
custom builds and compile fixes.
Reviewers: sergey, campbellbarton, mont29
Reviewed By: sergey, campbellbarton, mont29
Differential Revision: https://developer.blender.org/D2060
2016-08-06 06:20:37 +02:00
|
|
|
endif()
|
|
|
|
|
|
2015-07-20 16:08:06 +02:00
|
|
|
if(WITH_OPENSUBDIV)
|
2019-04-17 06:17:24 +02:00
|
|
|
list(APPEND INC_SYS
|
|
|
|
|
${OPENSUBDIV_INCLUDE_DIRS}
|
|
|
|
|
)
|
|
|
|
|
add_definitions(-DWITH_OPENSUBDIV)
|
2015-07-20 16:08:06 +02:00
|
|
|
endif()
|
|
|
|
|
|
Implementation of OpenVDB as a possible cache format for smoke
simulations.
This commits implements OpenVDB as an extra cache format in the Point
Cache system for smoke simulations. Compilation with the library is
turned off by default for now, and shall be enabled when the library is
present.
A documentation of its doings is available here: http://
wiki.blender.org/index.php/User:Kevindietrich/OpenVDBSmokeExport.
A guide to compile OpenVDB can be found here (Linux): http://
wiki.blender.org/index.php?title=Dev:Doc/Building_Blender/Linux/
Dependencies_From_Source#OpenVDB
Reviewers: sergey, lukastoenne, brecht, campbellbarton
Reviewed By: brecht, campbellbarton
Subscribers: galenb, Blendify, robocyte, Lapineige, bliblubli,
jtheninja, lukasstockner97, dingto, brecht
Differential Revision: https://developer.blender.org/D1721
2016-01-23 08:39:29 +01:00
|
|
|
if(WITH_OPENVDB)
|
2019-04-17 06:17:24 +02:00
|
|
|
list(APPEND INC
|
|
|
|
|
../../../intern/openvdb
|
|
|
|
|
)
|
|
|
|
|
list(APPEND LIB
|
|
|
|
|
bf_intern_openvdb
|
|
|
|
|
)
|
|
|
|
|
add_definitions(-DWITH_OPENVDB)
|
|
|
|
|
|
|
|
|
|
if(WITH_OPENVDB_BLOSC)
|
|
|
|
|
add_definitions(
|
|
|
|
|
-DWITH_OPENVDB_BLOSC
|
|
|
|
|
)
|
|
|
|
|
endif()
|
Implementation of OpenVDB as a possible cache format for smoke
simulations.
This commits implements OpenVDB as an extra cache format in the Point
Cache system for smoke simulations. Compilation with the library is
turned off by default for now, and shall be enabled when the library is
present.
A documentation of its doings is available here: http://
wiki.blender.org/index.php/User:Kevindietrich/OpenVDBSmokeExport.
A guide to compile OpenVDB can be found here (Linux): http://
wiki.blender.org/index.php?title=Dev:Doc/Building_Blender/Linux/
Dependencies_From_Source#OpenVDB
Reviewers: sergey, lukastoenne, brecht, campbellbarton
Reviewed By: brecht, campbellbarton
Subscribers: galenb, Blendify, robocyte, Lapineige, bliblubli,
jtheninja, lukasstockner97, dingto, brecht
Differential Revision: https://developer.blender.org/D1721
2016-01-23 08:39:29 +01:00
|
|
|
endif()
|
|
|
|
|
|
2011-09-27 12:08:35 +00:00
|
|
|
## Warnings as errors, this is too strict!
|
|
|
|
|
#if(MSVC)
|
2019-04-17 06:17:24 +02:00
|
|
|
# set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /WX")
|
2011-09-27 12:08:35 +00:00
|
|
|
#endif()
|
2009-01-23 20:36:47 +00:00
|
|
|
|
2019-04-14 15:18:44 +02:00
|
|
|
blender_add_lib(bf_blenkernel "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")
|