32 lines
		
	
	
		
			953 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			32 lines
		
	
	
		
			953 B
		
	
	
	
		
			Python
		
	
	
	
	
	
#!/usr/bin/python
 | 
						|
Import ('env')
 | 
						|
 | 
						|
sources = env.Glob('*.c')
 | 
						|
 | 
						|
incs = '../include ../../blenlib ../../blenkernel ../../makesdna ../../imbuf'
 | 
						|
incs += ' ../../windowmanager #/intern/guardedalloc #/extern/glew/include'
 | 
						|
incs += ' ../../gpu'
 | 
						|
incs += ' ../../makesrna ../../render/extern/include  #/intern/elbeem/extern'
 | 
						|
incs += ' ../../blenloader ../../bmesh'
 | 
						|
 | 
						|
if env['OURPLATFORM'] == 'linux':
 | 
						|
    cflags='-pthread'
 | 
						|
    incs += ' ../../../extern/binreloc/include'
 | 
						|
 | 
						|
if env['OURPLATFORM'] in ('win32-vc', 'win32-mingw', 'linuxcross', 'win64-vc'):
 | 
						|
    incs += ' ' + env['BF_PTHREADS_INC']
 | 
						|
 | 
						|
 | 
						|
if env['WITH_BF_QUICKTIME']:
 | 
						|
    incs += ' ../../quicktime'
 | 
						|
    env.Append(CFLAGS=['-DWITH_QUICKTIME'])
 | 
						|
 | 
						|
if env['USE_QTKIT']:
 | 
						|
   env.Append(CFLAGS=['-DUSE_QTKIT'])
 | 
						|
 | 
						|
if env['OURPLATFORM'] == 'darwin':
 | 
						|
    if env['WITH_BF_OPENMP']:
 | 
						|
       env.Append(CFLAGS=['-DPARALLEL=1'])
 | 
						|
 | 
						|
env.BlenderLib ( 'bf_editors_render', sources, Split(incs), [], libtype=['core'], priority=[45])
 |