28 lines
		
	
	
		
			833 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			28 lines
		
	
	
		
			833 B
		
	
	
	
		
			Python
		
	
	
	
	
	
| #!/usr/bin/python
 | |
| Import ('env')
 | |
| 
 | |
| sources = env.Glob('*.c')
 | |
| 
 | |
| incs = '../include ../../blenlib ../../blenkernel ../../makesdna ../../imbuf'
 | |
| incs += ' ../../windowmanager #/intern/guardedalloc ../../blenloader'
 | |
| incs += ' ../../makesrna ../../python ../../ikplugin'
 | |
| incs += ' ../../render/extern/include ../../gpu' # for object_bake.c
 | |
| incs += ' #extern/recastnavigation'
 | |
| 
 | |
| defs = []
 | |
| 
 | |
| 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_PYTHON']:
 | |
|     defs.append('WITH_PYTHON')
 | |
|   
 | |
| if env['WITH_BF_GAMEENGINE']:
 | |
|     defs.append('WITH_GAMEENGINE')
 | |
| 
 | |
| env.BlenderLib ( 'bf_editors_object', sources, Split(incs), defs, libtype=['core'], priority=[35] )
 |