 88446eeca4
			
		
	
	88446eeca4
	
	
	
		
			
			* Add WITH_BF_YAFRAY, which per default is 'true', so no visible changes for developers (and users). Set WITH_BF_YAFRAY to 'false', and you'll save some major compile time :) Also handy if you're strapped for memory and compilation fails on yafray compilation due to this. - this commit also has a few whitespace changes and - made BF_NO_ELBEEM a proper BoolOption. This will be renamed to WITH_BF_ELBEEM in the near future...
		
			
				
	
	
		
			32 lines
		
	
	
		
			845 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			32 lines
		
	
	
		
			845 B
		
	
	
	
		
			Python
		
	
	
	
	
	
| #!/usr/bin/python
 | |
| Import ('env')
 | |
| 
 | |
| cflags=''
 | |
| sources = env.Glob('intern/source/*.c')
 | |
| 
 | |
| incs = 'intern/include #/intern/guardedalloc ../blenlib ../makesdna'
 | |
| incs += ' extern/include ../blenkernel ../radiosity/extern/include ../imbuf'
 | |
| incs += ' ../quicktime ../include ../../kernel/gen_messaging'
 | |
| 
 | |
| defs = []
 | |
| 
 | |
| if env['WITH_BF_YAFRAY'] == 1:
 | |
|     incs += ' ../yafray'
 | |
| else:
 | |
|     defs.append('DISABLE_YAFRAY')
 | |
| 
 | |
| if env['WITH_BF_QUICKTIME'] == 1:
 | |
|     defs.append('WITH_QUICKTIME')
 | |
|     incs += ' ' + env['BF_QUICKTIME_INC']
 | |
| 
 | |
| if env['WITH_BF_FFMPEG'] == 1:
 | |
|     defs.append('WITH_FFMPEG')
 | |
| 
 | |
| if env['WITH_BF_OPENEXR']:
 | |
|     defs.append('WITH_OPENEXR')
 | |
| 
 | |
| if env['OURPLATFORM']=='linux2':
 | |
|     cflags='-pthread'
 | |
| 
 | |
| env.BlenderLib ( libname = 'blender_render', sources = sources, includes = Split(incs), defines=defs, libtype='core', priority=45, compileflags=cflags )
 |