Since bli_threads.h now includes pthreads directly, we need to had instructions in SConscripts everywhere for proper include path. Frankly, I feel like this should be done in a global manner and not in a per lib fashion, but that is for another day. This commit also fixes more missing properties
		
			
				
	
	
		
			20 lines
		
	
	
		
			690 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
		
			690 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 += ' #/intern/guardedalloc ../../gpu'
 | 
						|
incs += ' ../../makesrna ../../render/extern/include  #/intern/elbeem/extern'
 | 
						|
incs += ' ../../blenloader'
 | 
						|
 | 
						|
if env['OURPLATFORM'] == 'linux2':
 | 
						|
    cflags='-pthread'
 | 
						|
    incs += ' ../../../extern/binreloc/include'
 | 
						|
 | 
						|
if env['OURPLATFORM'] in ('win32-vc', 'win32-mingw', 'linuxcross', 'win64-vc'):
 | 
						|
    incs += ' ' + env['BF_PTHREADS_INC']
 | 
						|
 | 
						|
env.BlenderLib ( 'bf_editors_render', sources, Split(incs), [], libtype=['core'], priority=[45] )
 |