2012-10-28 17:03:36 +00:00
|
|
|
BF_BUILDDIR = '../blender-build/linux-glibc211-x86_64'
|
|
|
|
BF_INSTALLDIR = '../blender-install/linux-glibc211-x86_64'
|
2013-01-10 08:01:19 +00:00
|
|
|
BF_NUMJOBS = 4
|
2011-04-01 21:22:19 +00:00
|
|
|
|
|
|
|
# Python configuration
|
2014-04-22 07:00:35 +00:00
|
|
|
BF_PYTHON_VERSION = '3.4'
|
2012-10-28 17:03:36 +00:00
|
|
|
BF_PYTHON_ABI_FLAGS = 'm'
|
2014-04-22 07:00:35 +00:00
|
|
|
BF_PYTHON = '/opt/lib/python-3.4'
|
2013-04-23 15:29:39 +00:00
|
|
|
WITH_BF_PYTHON_INSTALL_NUMPY = True
|
2014-03-05 08:00:58 +00:00
|
|
|
WITH_BF_PYTHON_INSTALL_REQUESTS = True
|
2011-04-01 21:22:19 +00:00
|
|
|
|
|
|
|
WITH_BF_STATICPYTHON = True
|
|
|
|
|
|
|
|
# OpenCollada configuration
|
|
|
|
WITH_BF_COLLADA = False
|
|
|
|
|
|
|
|
# FFMPEG configuration
|
2011-08-03 09:07:30 +00:00
|
|
|
WITH_BF_FFMPEG = True
|
|
|
|
WITH_BF_STATICFFMPEG = True
|
|
|
|
|
2012-10-28 17:03:36 +00:00
|
|
|
BF_FFMPEG = '/opt/lib/ffmpeg'
|
|
|
|
BF_FFMPEG_LIBPATH = '${BF_FFMPEG}/lib'
|
|
|
|
BF_FFMPEG_LIB_STATIC = '${BF_FFMPEG_LIBPATH}/libavformat.a ${BF_FFMPEG_LIBPATH}/libavdevice.a ' + \
|
|
|
|
'${BF_FFMPEG_LIBPATH}/libavfilter.a ${BF_FFMPEG_LIBPATH}/libavcodec.a ${BF_FFMPEG_LIBPATH}/libavutil.a ' + \
|
|
|
|
'${BF_FFMPEG_LIBPATH}/libswscale.a ${BF_FFMPEG_LIBPATH}/libswresample.a ' + \
|
|
|
|
'/usr/lib/libxvidcore.a /usr/lib/libx264.a /usr/lib/libmp3lame.a /usr/lib/libvpx.a /usr/lib/libvorbis.a ' + \
|
|
|
|
'/usr/lib/libogg.a /usr/lib/libvorbisenc.a /usr/lib/libtheora.a /usr/lib/libschroedinger-1.0.a ' + \
|
2012-10-29 18:03:32 +00:00
|
|
|
'/usr/lib/liborc-0.4.a'
|
2011-04-01 21:22:19 +00:00
|
|
|
|
|
|
|
# Don't depend on system's libstdc++
|
|
|
|
WITH_BF_STATICCXX = True
|
2012-10-28 17:03:36 +00:00
|
|
|
BF_CXX_LIB_STATIC = '/usr/lib/gcc/x86_64-linux-gnu/4.7.1/libstdc++.a'
|
2011-04-01 21:22:19 +00:00
|
|
|
|
|
|
|
WITH_BF_OPENAL = True
|
|
|
|
WITH_BF_STATICOPENAL = True
|
2012-10-28 17:03:36 +00:00
|
|
|
BF_OPENAL = '/opt/lib/openal'
|
|
|
|
BF_OPENAL_LIB_STATIC = '/opt/lib/openal/lib/libopenal.a'
|
2011-04-01 21:22:19 +00:00
|
|
|
|
|
|
|
WITH_BF_GETTEXT_STATIC = True
|
|
|
|
|
2012-10-28 17:03:36 +00:00
|
|
|
WITH_BF_FREETYPE_STATIC = False
|
|
|
|
|
|
|
|
WITH_BF_OPENEXR = True
|
2013-06-23 11:31:54 +00:00
|
|
|
BF_OPENEXR = '/opt/lib/openexr'
|
|
|
|
BF_OPENEXR_INC = '${BF_OPENEXR}/include/OpenEXR ${BF_OPENEXR}/include'
|
2011-04-01 21:22:19 +00:00
|
|
|
WITH_BF_STATICOPENEXR = True
|
|
|
|
|
2012-10-28 17:03:36 +00:00
|
|
|
WITH_BF_TIFF = True
|
2011-04-01 21:22:19 +00:00
|
|
|
WITH_BF_STATICTIFF = True
|
|
|
|
BF_TIFF_LIB_STATIC = '${BF_TIFF}/lib/libtiff.a'
|
|
|
|
|
|
|
|
WITH_BF_JPEG = True
|
2012-10-28 17:03:36 +00:00
|
|
|
WITH_BF_STATICJPEG = True
|
|
|
|
BF_JPEG_LIB_STATIC= '${BF_JPEG}/lib/libjpeg.a'
|
2011-04-01 21:22:19 +00:00
|
|
|
|
2011-11-27 19:21:49 +00:00
|
|
|
WITH_BF_STATICLIBSAMPLERATE = True
|
|
|
|
|
2011-04-01 21:22:19 +00:00
|
|
|
WITH_BF_PNG = True
|
2012-10-28 17:03:36 +00:00
|
|
|
WITH_BF_STATICPNG = True
|
|
|
|
BF_PNG_LIB_STATIC = '${BF_PNG}/lib/libpng.a'
|
2011-04-01 21:22:19 +00:00
|
|
|
|
2011-04-04 19:39:47 +00:00
|
|
|
WITH_BF_ZLIB = True
|
|
|
|
WITH_BF_STATICZLIB = True
|
|
|
|
BF_ZLIB_LIB_STATIC = '${BF_ZLIB}/lib/libz.a'
|
2011-04-01 21:22:19 +00:00
|
|
|
|
|
|
|
WITH_BF_SDL = True
|
|
|
|
WITH_BF_OGG = False
|
|
|
|
|
|
|
|
WITH_BF_OPENMP = True
|
2012-10-28 17:03:36 +00:00
|
|
|
WITH_BF_STATICOPENMP = True
|
|
|
|
BF_OPENMP_LIB_STATIC = '/usr/lib/gcc/x86_64-linux-gnu/4.7/libgomp.a'
|
2011-04-01 21:22:19 +00:00
|
|
|
|
|
|
|
WITH_BF_GAMEENGINE = True
|
|
|
|
WITH_BF_BULLET = True
|
|
|
|
|
|
|
|
# Do not build blender when building blenderplayer
|
|
|
|
WITH_BF_NOBLENDER = True
|
|
|
|
WITH_BF_PLAYER = True
|
|
|
|
|
2011-05-13 12:57:54 +00:00
|
|
|
# Use jemalloc memory manager
|
|
|
|
WITH_BF_JEMALLOC = True
|
|
|
|
WITH_BF_STATICJEMALLOC = True
|
2012-10-28 17:03:36 +00:00
|
|
|
BF_JEMALLOC = '/opt/lib/jemalloc'
|
|
|
|
BF_JEMALLOC_LIBPATH = '${BF_JEMALLOC}/lib'
|
2011-05-13 12:57:54 +00:00
|
|
|
|
2011-08-02 18:16:48 +00:00
|
|
|
# Use 3d mouse library
|
|
|
|
WITH_BF_3DMOUSE = True
|
|
|
|
WITH_BF_STATIC3DMOUSE = True
|
2012-10-28 17:03:36 +00:00
|
|
|
BF_3DMOUSE = '/opt/lib/libspnav'
|
|
|
|
BF_3DMOUSE_LIBPATH = '${BF_3DMOUSE}/lib'
|
2011-08-02 18:16:48 +00:00
|
|
|
|
2012-09-15 10:29:59 +00:00
|
|
|
# Color management
|
|
|
|
WITH_BF_OCIO = True
|
|
|
|
WITH_BF_STATICOCIO = True
|
2012-10-28 17:03:36 +00:00
|
|
|
BF_OCIO = '/opt/lib/ocio'
|
2012-09-15 10:29:59 +00:00
|
|
|
BF_OCIO_INC = '${BF_OCIO}/include'
|
|
|
|
BF_OCIO_LIB_STATIC = '${BF_OCIO_LIBPATH}/libOpenColorIO.a ${BF_OCIO_LIBPATH}/libtinyxml.a ${BF_OCIO_LIBPATH}/libyaml-cpp.a'
|
|
|
|
BF_OCIO_LIBPATH = '${BF_OCIO}/lib'
|
|
|
|
|
2012-11-05 15:55:59 +00:00
|
|
|
WITH_BF_BOOST = True
|
|
|
|
WITH_BF_STATICBOOST = True
|
|
|
|
BF_BOOST = '/opt/lib/boost'
|
|
|
|
BF_BOOST_INC = '${BF_BOOST}/include'
|
|
|
|
BF_BOOST_LIB_STATIC = '${BF_BOOST_LIBPATH}/libboost_filesystem.a ${BF_BOOST_LIBPATH}/libboost_date_time.a ' + \
|
2012-11-12 12:10:46 +00:00
|
|
|
'${BF_BOOST_LIBPATH}/libboost_regex.a ${BF_BOOST_LIBPATH}/libboost_locale.a ${BF_BOOST_LIBPATH}/libboost_system.a \
|
|
|
|
${BF_BOOST_LIBPATH}/libboost_thread.a'
|
2012-11-05 15:55:59 +00:00
|
|
|
BF_BOOST_LIBPATH = '${BF_BOOST}/lib'
|
|
|
|
|
2011-10-04 17:04:35 +00:00
|
|
|
# JACK
|
2013-03-27 07:19:54 +00:00
|
|
|
WITH_BF_JACK = True
|
|
|
|
WITH_BF_JACK_DYNLOAD = True
|
2011-10-04 17:04:35 +00:00
|
|
|
|
2011-11-09 19:04:17 +00:00
|
|
|
# Motion Tracking
|
|
|
|
WITH_BF_LIBMV = False
|
|
|
|
|
2011-11-14 05:52:06 +00:00
|
|
|
# Ocean Simulation
|
|
|
|
WITH_BF_FFTW3 = True
|
|
|
|
WITH_BF_STATICFFTW3 = True
|
|
|
|
WITH_BF_OCEANSIM = True
|
|
|
|
|
2011-04-01 21:22:19 +00:00
|
|
|
# Compilation and optimization
|
|
|
|
BF_DEBUG = False
|
2012-11-28 16:19:45 +00:00
|
|
|
REL_CCFLAGS = ['-DNDEBUG', '-O2', '-msse', '-msse2'] # C & C++
|
2012-10-28 17:03:36 +00:00
|
|
|
PLATFORM_LINKFLAGS = ['-lrt']
|