Merge of itasc branch. Project files, scons and cmake should be working. Makefile...
[blender.git] / source / blender / makesrna / SConscript
index 967636f..8fc9df0 100644 (file)
@@ -7,6 +7,37 @@ o = SConscript('intern/SConscript')
 objs += o
 
 incs = '#/intern/guardedalloc ../blenkernel ../blenlib ../makesdna intern .'
-incs += ' ../windowmanager ../editors/include ../imbuf'
+incs += ' ../windowmanager ../editors/include ../imbuf ../ikplugin'
+incs += ' ../render/extern/include'
 
-env.BlenderLib ( 'bf_rna', objs, Split(incs), [], libtype=['core'], priority = [195] )
+defs = []
+
+if env['WITH_BF_OPENEXR']:
+       defs.append('WITH_OPENEXR')
+
+if env['WITH_BF_OPENJPEG']:
+       defs.append('WITH_OPENJPEG')
+
+if env['WITH_BF_DDS']:
+       defs.append('WITH_DDS')
+
+if env['WITH_BF_FFMPEG']:
+       defs.append('WITH_FFMPEG')
+       incs += ' ' + env['BF_FFMPEG_INC']
+
+if env['WITH_BF_OGG']:
+       defs.append('WITH_OGG')
+
+if env['WITH_BF_QUICKTIME']:
+       defs.append('WITH_QUICKTIME')
+
+if env['WITH_BF_LCMS']:
+       defs.append('WITH_LCMS')
+
+if env['WITH_BF_GAMEENGINE']:
+       defs.append('GAMEBLENDER=1')
+
+if env['BF_UNIT_TEST']:
+       defs.append('UNIT_TEST')
+
+env.BlenderLib ( 'bf_rna', objs, Split(incs), defines=defs, libtype=['core','player'], priority = [165,20] )