2008-01-07 19:13:47 +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-01-07 19:13:47 +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-01-07 19:13:47 +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
|
|
|
.
|
|
|
|
|
../avi
|
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
|
|
|
|
|
../render/extern/include
|
|
|
|
|
../../../intern/guardedalloc
|
|
|
|
|
../../../intern/iksolver/extern
|
|
|
|
|
../../../intern/memutil
|
2011-07-16 23:01:14 +00:00
|
|
|
../../../intern/mikktspace
|
2010-09-06 10:15:41 +00:00
|
|
|
../../../intern/opennl/extern
|
2012-06-04 16:42:58 +00:00
|
|
|
../../../intern/raskter
|
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
|
|
|
|
|
intern/anim.c
|
|
|
|
|
intern/anim_sys.c
|
|
|
|
|
intern/armature.c
|
|
|
|
|
intern/blender.c
|
|
|
|
|
intern/bmfont.c
|
|
|
|
|
intern/boids.c
|
|
|
|
|
intern/booleanops_mesh.c
|
|
|
|
|
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
|
|
|
|
|
intern/curve.c
|
|
|
|
|
intern/customdata.c
|
|
|
|
|
intern/customdata_file.c
|
|
|
|
|
intern/deform.c
|
|
|
|
|
intern/depsgraph.c
|
|
|
|
|
intern/displist.c
|
2011-05-24 07:08:58 +00:00
|
|
|
intern/dynamicpaint.c
|
2011-12-02 02:18:29 +00:00
|
|
|
intern/editderivedmesh.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
|
|
|
|
|
intern/gpencil.c
|
|
|
|
|
intern/group.c
|
|
|
|
|
intern/icons.c
|
|
|
|
|
intern/idcode.c
|
|
|
|
|
intern/idprop.c
|
|
|
|
|
intern/image.c
|
|
|
|
|
intern/image_gen.c
|
|
|
|
|
intern/implicit.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
|
2012-08-26 13:41:40 +00:00
|
|
|
intern/mask_evaluate.c
|
2012-07-12 20:10:41 +00:00
|
|
|
intern/mask_rasterize.c
|
2012-06-04 16:42:58 +00:00
|
|
|
intern/mask.c
|
2010-10-23 04:05:55 +00:00
|
|
|
intern/material.c
|
|
|
|
|
intern/mball.c
|
|
|
|
|
intern/mesh.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
|
2012-03-08 03:25:53 +00:00
|
|
|
intern/ocean.c
|
2010-10-23 04:05:55 +00:00
|
|
|
intern/packedFile.c
|
|
|
|
|
intern/paint.c
|
|
|
|
|
intern/particle.c
|
|
|
|
|
intern/particle_system.c
|
|
|
|
|
intern/pointcache.c
|
|
|
|
|
intern/property.c
|
|
|
|
|
intern/report.c
|
|
|
|
|
intern/sca.c
|
|
|
|
|
intern/scene.c
|
|
|
|
|
intern/screen.c
|
|
|
|
|
intern/script.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
|
2010-10-23 04:05:55 +00:00
|
|
|
intern/unit.c
|
|
|
|
|
intern/world.c
|
|
|
|
|
intern/writeavi.c
|
|
|
|
|
intern/writeframeserver.c
|
2011-05-01 21:39:13 +00:00
|
|
|
|
2010-11-29 04:35:56 +00:00
|
|
|
BKE_DerivedMesh.h
|
|
|
|
|
BKE_action.h
|
|
|
|
|
BKE_anim.h
|
|
|
|
|
BKE_animsys.h
|
|
|
|
|
BKE_armature.h
|
|
|
|
|
BKE_blender.h
|
|
|
|
|
BKE_bmesh.h
|
|
|
|
|
BKE_bmfont.h
|
|
|
|
|
BKE_bmfont_types.h
|
|
|
|
|
BKE_boids.h
|
|
|
|
|
BKE_booleanops_mesh.h
|
|
|
|
|
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
|
|
|
|
|
BKE_curve.h
|
|
|
|
|
BKE_customdata.h
|
|
|
|
|
BKE_customdata_file.h
|
|
|
|
|
BKE_deform.h
|
|
|
|
|
BKE_depsgraph.h
|
|
|
|
|
BKE_displist.h
|
2011-11-10 13:00:27 +00:00
|
|
|
BKE_dynamicpaint.h
|
2010-11-29 04:35:56 +00:00
|
|
|
BKE_effect.h
|
|
|
|
|
BKE_fcurve.h
|
|
|
|
|
BKE_fluidsim.h
|
|
|
|
|
BKE_font.h
|
|
|
|
|
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
|
2012-06-04 16:42:58 +00:00
|
|
|
BKE_mask.h
|
2010-11-29 04:35:56 +00:00
|
|
|
BKE_main.h
|
|
|
|
|
BKE_material.h
|
|
|
|
|
BKE_mball.h
|
|
|
|
|
BKE_mesh.h
|
|
|
|
|
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
|
2010-11-29 04:35:56 +00:00
|
|
|
BKE_packedFile.h
|
|
|
|
|
BKE_paint.h
|
|
|
|
|
BKE_particle.h
|
|
|
|
|
BKE_pointcache.h
|
|
|
|
|
BKE_property.h
|
|
|
|
|
BKE_report.h
|
|
|
|
|
BKE_sca.h
|
|
|
|
|
BKE_scene.h
|
|
|
|
|
BKE_screen.h
|
|
|
|
|
BKE_script.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
|
2011-08-19 10:34:24 +00:00
|
|
|
BKE_tessmesh.h
|
2010-11-29 04:35:56 +00:00
|
|
|
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
|
|
|
|
|
depsgraph_private.h
|
|
|
|
|
nla_private.h
|
2012-03-08 03:25:53 +00:00
|
|
|
intern/CCGSubSurf.h
|
2010-10-23 04:05:55 +00:00
|
|
|
)
|
2010-07-14 22:06:10 +00:00
|
|
|
|
2010-12-08 08:43:06 +00:00
|
|
|
add_definitions(-DGLEW_STATIC)
|
2009-11-21 20:36:03 +00:00
|
|
|
|
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)
|
2011-07-16 23:01:14 +00:00
|
|
|
list(APPEND INC
|
|
|
|
|
../../../extern/bullet2/src
|
|
|
|
|
)
|
2010-12-08 08:43:06 +00:00
|
|
|
add_definitions(-DUSE_BULLET)
|
|
|
|
|
endif()
|
2009-08-18 03:24:46 +00:00
|
|
|
|
2011-05-02 03:44:02 +00:00
|
|
|
if(WITH_MOD_CLOTH_ELTOPO)
|
2011-07-16 23:01:14 +00:00
|
|
|
list(APPEND INC
|
|
|
|
|
../../../extern/eltopo
|
2012-08-12 17:56:52 +00:00
|
|
|
../../../extern/eltopo/eltopo3d
|
2011-07-16 23:01:14 +00:00
|
|
|
)
|
2011-05-02 03:44:02 +00:00
|
|
|
add_definitions(-DWITH_ELTOPO)
|
2011-05-01 21:39:13 +00:00
|
|
|
endif()
|
|
|
|
|
|
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
|
|
|
|
2010-12-08 08:43:06 +00:00
|
|
|
if(WITH_IMAGE_OPENJPEG)
|
|
|
|
|
add_definitions(-DWITH_OPENJPEG)
|
|
|
|
|
endif()
|
2009-03-06 15:46:13 +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
|
|
|
|
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
|
|
|
|
2010-12-08 08:43:06 +00:00
|
|
|
if(WITH_OPENMP)
|
|
|
|
|
add_definitions(-DPARALLEL=1)
|
|
|
|
|
endif()
|
2010-02-07 14:25:09 +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()
|
2009-01-23 20:36:47 +00:00
|
|
|
|
2011-07-13 18:40:21 +00:00
|
|
|
if(WITH_MOD_SMOKE)
|
2012-03-27 00:17:57 +00:00
|
|
|
list(APPEND INC
|
|
|
|
|
../../../intern/smoke/extern
|
|
|
|
|
)
|
2011-07-13 18:40:21 +00:00
|
|
|
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()
|
|
|
|
|
|
2012-03-27 00:17:57 +00:00
|
|
|
if(WITH_MOD_DECIMATE)
|
|
|
|
|
list(APPEND INC
|
|
|
|
|
../../../intern/decimation/extern
|
|
|
|
|
)
|
|
|
|
|
endif()
|
|
|
|
|
|
|
|
|
|
if(WITH_MOD_BOOLEAN)
|
|
|
|
|
list(APPEND INC
|
|
|
|
|
../../../intern/bsp/extern
|
|
|
|
|
)
|
|
|
|
|
endif()
|
|
|
|
|
|
2010-12-08 08:43:06 +00:00
|
|
|
if(WITH_JACK)
|
|
|
|
|
add_definitions(-DWITH_JACK)
|
|
|
|
|
endif()
|
2009-09-25 02:40:10 +00:00
|
|
|
|
2010-12-08 08:43:06 +00:00
|
|
|
if(WITH_LZO)
|
2011-07-16 23:01:14 +00:00
|
|
|
list(APPEND INC_SYS
|
|
|
|
|
../../../extern/lzo/minilzo
|
|
|
|
|
)
|
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-01-23 20:36:47 +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)
|
2011-09-11 14:13:04 +00:00
|
|
|
endif()
|
|
|
|
|
|
2011-11-07 12:55:18 +00:00
|
|
|
if(WITH_LIBMV)
|
2011-11-08 01:32:34 +00:00
|
|
|
list(APPEND INC
|
|
|
|
|
../../../extern/libmv
|
|
|
|
|
)
|
2011-11-07 12:55:18 +00:00
|
|
|
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()
|
|
|
|
|
|
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}")
|