2012-12-17 08:01:43 +00:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								#!/usr/bin/env python  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								#  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								# ***** 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.  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								#  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								# The Original Code is Copyright (C) 2006, Blender Foundation  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								# All rights reserved.  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								#  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								# The Original Code is: all of this file.  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								#  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								# Contributor(s): Nathan Letwory.  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								#  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								# ***** END GPL LICENSE BLOCK *****  
						 
					
						
							
								
									
										
										
										
											2004-02-29 21:40:48 +00:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2011-07-15 04:01:47 +00:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								# TODO, split into 3 files.  
						 
					
						
							
								
									
										
										
										
											2011-03-03 12:00:35 +00:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								Import  ( ' env ' )  
						 
					
						
							
								
									
										
										
										
											2004-01-04 21:11:59 +00:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2011-11-09 14:13:17 +00:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								incs  =  ' . ../editors/include ../makesdna ../makesrna ../blenfont ../blenlib ../blenkernel ../nodes '  
						 
					
						
							
								
									
										
										
										
											2012-02-22 09:19:53 +00:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								incs  + =  '  ../imbuf ../blenloader ../bmesh ../gpu ../render/extern/include ../windowmanager '  
						 
					
						
							
								
									
										
										
										
											2012-01-09 16:58:01 +00:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								incs  + =  '  #intern/guardedalloc #intern/memutil #extern/glew/include #intern/cycles/blender '  
						 
					
						
							
								
									
										
										
										
											2010-07-09 12:35:40 +00:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								incs  + =  '  #intern/audaspace/intern  '  +  env [ ' BF_PYTHON_INC ' ]  
						 
					
						
							
								
									
										
										
										
											2004-01-04 21:11:59 +00:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2012-04-24 12:57:58 +00:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								is_debug  =  ( env [ ' OURPLATFORM ' ]  in  ( ' win32-mingw ' ,  ' win32-vc ' , ' win64-vc ' ,  ' win64-mingw ' )  and  env [ ' BF_DEBUG ' ] )  
						 
					
						
							
								
									
										
										
										
											2011-03-03 12:00:35 +00:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2012-02-22 09:19:53 +00:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								# bmesh  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								defs  =  [ ]  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								sources  =  env . Glob ( ' bmesh/*.c ' )  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								env . BlenderLib (  libname  =  ' bf_python_bmesh ' ,  sources  =  Split ( sources ) ,  includes  =  Split ( incs ) ,  defines  =  defs ,  libtype  =  [ ' core ' , ' player ' ] ,  priority  =  [ 362 , 165 ] )  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2011-03-03 12:00:35 +00:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								# generic  
						 
					
						
							
								
									
										
										
										
											2012-05-09 09:49:24 +00:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								defs  =  [ ' GLEW_STATIC ' ]  
						 
					
						
							
								
									
										
										
										
											2004-01-04 21:11:59 +00:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2011-03-03 12:00:35 +00:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								if  is_debug :  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    defs . append ( ' _DEBUG ' ) 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								sources  =  env . Glob ( ' generic/*.c ' )  
						 
					
						
							
								
									
										
										
										
											2011-07-15 04:01:47 +00:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								env . BlenderLib (  libname  =  ' bf_python_ext ' ,  sources  =  Split ( sources ) ,  includes  =  Split ( incs ) ,  defines  =  defs ,  libtype  =  [ ' core ' , ' player ' ] ,  priority  =  [ 363 , 165 ] )  # ketsji is 360  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								# mathutils  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								defs  =  [ ]  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								sources  =  env . Glob ( ' mathutils/*.c ' )  
						 
					
						
							
								
									
										
										
										
											2011-07-15 10:10:25 +00:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								env . BlenderLib (  libname  =  ' bf_python_mathutils ' ,  sources  =  Split ( sources ) ,  includes  =  Split ( incs ) ,  defines  =  defs ,  libtype  =  [ ' core ' , ' player ' ] ,  priority  =  [ 362 , 165 ] )  
						 
					
						
							
								
									
										
										
										
											2010-08-04 17:23:13 +00:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2011-03-03 12:00:35 +00:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								# bpy  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								defs  =  [ ]  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								if  is_debug :  
						 
					
						
							
								
									
										
										
										
											2010-08-29 20:52:05 +00:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    defs . append ( ' _DEBUG ' ) 
							 
						 
					
						
							
								
									
										
										
										
											2006-02-04 14:15:10 +00:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2011-03-03 12:00:35 +00:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								if  env [ ' WITH_BF_PYTHON_SAFETY ' ] :  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    defs . append ( ' WITH_PYTHON_SAFETY ' ) 
							 
						 
					
						
							
								
									
										
										
										
											2007-07-09 16:03:26 +00:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2011-03-03 12:00:35 +00:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								if  env [ ' BF_BUILDINFO ' ] :  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    defs . append ( ' BUILD_DATE ' ) 
							 
						 
					
						
							
								
									
										
											 
										
											
												
Merge of first part of changes from the apricot branch, especially
the features that are needed to run the game. Compile tested with
scons, make, but not cmake, that seems to have an issue not related
to these changes. The changes include:
* GLSL support in the viewport and game engine, enable in the game
  menu in textured draw mode.
* Synced and merged part of the duplicated blender and gameengine/
  gameplayer drawing code.
* Further refactoring of game engine drawing code, especially mesh
  storage changed a lot.
* Optimizations in game engine armatures to avoid recomputations.
* A python function to get the framerate estimate in game.
* An option take object color into account in materials.
* An option to restrict shadow casters to a lamp's layers.
* Increase from 10 to 18 texture slots for materials, lamps, word.
  An extra texture slot shows up once the last slot is used.
* Memory limit for undo, not enabled by default yet because it
  needs the .B.blend to be changed.
* Multiple undo for image painting.
* An offset for dupligroups, so not all objects in a group have to
  be at the origin.
											 
										 
										
											2008-09-04 20:51:28 +00:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2011-09-21 18:05:01 +00:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2012-12-18 18:02:20 +00:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								# Audaspace is always on currently  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								if  env [ ' WITH_BF_BULLET ' ] :  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    defs . append ( ' WITH_BULLET ' ) 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								# AVI is always on currently  
						 
					
						
							
								
									
										
										
										
											2011-11-08 20:40:02 +00:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2011-12-28 12:35:58 +00:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								if  env [ ' WITH_BF_FFMPEG ' ] :  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    defs . append ( ' WITH_FFMPEG ' ) 
							 
						 
					
						
							
								
									
										
										
										
											2011-12-28 15:08:58 +00:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    incs  + =  '   '  +  env [ ' BF_FFMPEG_INC ' ] 
							 
						 
					
						
							
								
									
										
										
										
											2012-12-18 18:02:20 +00:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								if  env [ ' WITH_BF_QUICKTIME ' ] :  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    defs . append ( ' WITH_QUICKTIME ' ) 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								if  env [ ' WITH_BF_SNDFILE ' ] :  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    defs . append ( ' WITH_SNDFILE ' ) 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								if  env [ ' WITH_BF_COMPOSITOR ' ] :  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    defs . append ( ' WITH_COMPOSITOR ' ) 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								if  env [ ' WITH_BF_CYCLES ' ] :  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    defs . append ( ' WITH_CYCLES ' ) 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								if  env [ ' WITH_BF_CYCLES_OSL ' ] :  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    defs . append ( ' WITH_CYCLES_OSL ' ) 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2012-12-20 07:57:26 +00:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								if  env [ ' WITH_BF_FREESTYLE ' ] :  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    incs  + =  '  ../freestyle/intern/python ' 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    defs . append ( ' WITH_FREESTYLE ' ) 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2012-12-18 18:02:20 +00:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								if  env [ ' WITH_BF_GAMEENGINE ' ] :  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    defs . append ( ' WITH_GAMEENGINE ' ) 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								if  env [ ' WITH_BF_CINEON ' ] :  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    defs . append ( ' WITH_CINEON ' ) 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								if  env [ ' WITH_BF_DDS ' ] :  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    defs . append ( ' WITH_DDS ' ) 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								if  env [ ' WITH_BF_FRAMESERVER ' ] :  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    defs . append ( ' WITH_FRAMESERVER ' ) 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								if  env [ ' WITH_BF_HDR ' ] :  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    defs . append ( ' WITH_HDR ' ) 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								if  env [ ' WITH_BF_OPENEXR ' ] :  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    defs . append ( ' WITH_OPENEXR ' ) 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								if  env [ ' WITH_BF_OPENJPEG ' ] :  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    defs . append ( ' WITH_OPENJPEG ' ) 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								if  env [ ' WITH_BF_REDCODE ' ] :  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    defs . append ( ' WITH_REDCODE ' ) 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								if  env [ ' WITH_BF_TIFF ' ] :  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    defs . append ( ' WITH_TIFF ' ) 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								# NDof is always on currently  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								if  env [ ' WITH_BF_INTERNATIONAL ' ] :  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    defs . append ( ' WITH_INTERNATIONAL ' ) 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2013-01-04 04:43:49 +00:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								if  env [ ' WITH_BF_OPENAL ' ] :  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    defs . append ( ' WITH_OPENAL ' ) 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								if  env [ ' WITH_BF_SDL ' ] :  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    defs . append ( ' WITH_SDL ' ) 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2012-12-18 18:02:20 +00:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								if  env [ ' WITH_BF_JACK ' ] :  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    defs . append ( ' WITH_JACK ' ) 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								if  env [ ' WITH_BF_LIBMV ' ] :  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    defs . append ( ' WITH_LIBMV ' ) 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								if  env [ ' WITH_BF_BOOLEAN ' ] :  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    defs . append ( ' WITH_MOD_BOOLEAN ' ) 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								if  env [ ' WITH_BF_FLUID ' ] :  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    defs . append ( ' WITH_MOD_FLUID ' ) 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								if  env [ ' WITH_BF_OCEANSIM ' ] :  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    defs . append ( ' WITH_OCEANSIM ' ) 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								if  env [ ' WITH_BF_REMESH ' ] :  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    defs . append ( ' WITH_MOD_REMESH ' ) 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								if  env [ ' WITH_BF_SMOKE ' ] :  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    defs . append ( ' WITH_SMOKE ' ) 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								if  env [ ' WITH_BF_COLLADA ' ] :  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    defs . append ( ' WITH_COLLADA ' ) 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2013-01-04 04:43:49 +00:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								if  env [ ' WITH_BF_OIIO ' ] :  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    defs . append ( ' WITH_OCIO ' ) 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2012-12-18 18:02:20 +00:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								if  env [ ' WITH_BF_PLAYER ' ] :  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    defs . append ( ' WITH_PLAYER ' ) 
							 
						 
					
						
							
								
									
										
										
										
											2013-04-28 16:52:51 +00:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								if  env [ ' WITH_BF_OPENMP ' ] :  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    defs . append ( ' WITH_OPENMP ' ) 
							 
						 
					
						
							
								
									
										
										
										
											2012-12-18 18:02:20 +00:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2012-04-24 12:57:58 +00:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								if  env [ ' OURPLATFORM ' ]  in  ( ' win32-vc ' ,  ' win32-mingw ' ,  ' win64-mingw ' ,  ' linuxcross ' ,  ' win64-vc ' ) :  
						 
					
						
							
								
									
										
										
										
											2012-04-13 19:34:15 +00:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    incs  + =  '   '  +  env [ ' BF_PTHREADS_INC ' ] 
							 
						 
					
						
							
								
									
										
										
										
											2011-12-28 12:35:58 +00:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2011-03-03 12:00:35 +00:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								sources  =  env . Glob ( ' intern/*.c ' )  
						 
					
						
							
								
									
										
										
										
											2011-03-31 15:28:53 +00:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								env . BlenderLib (  libname  =  ' bf_python ' ,  sources  =  Split ( sources ) ,  includes  =  Split ( incs ) ,  defines  =  defs ,  libtype  =  [ ' core ' ] ,  priority  =  [ 361 ] )