This repository has been archived on 2023-10-09. You can view files and clone it, but cannot push or open issues or pull requests.
Files
blender-archive/source/blender/blenpluginapi/SConscript

22 lines
639 B
Python
Raw Normal View History

#!/usr/bin/python
Import ('env')
sources = env.Glob('intern/*.c')
2004-01-04 21:11:59 +00:00
incs = '. .. #/intern/guardedalloc ../blenlib ../imbuf ../makesdna ../blenloader'
2004-01-04 21:11:59 +00:00
defs = []
2004-01-04 21:11:59 +00:00
if env['WITH_BF_QUICKTIME']:
defs.append('WITH_QUICKTIME')
incs += ' ' + env['BF_QUICKTIME_INC']
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 ( libname = 'bf_blenpluginapi', sources = sources, includes = Split(incs), defines = defs, libtype=['core'], priority = [170] )