svn merge -r 12684:12691 https://svn.blender.org/svnroot/bf-blender/trunk/blender
[blender.git] / extern / SConscript
index 180c41b5c402c6cf9315be1b1fb6ace6faa8a67c..766e2a5b188ad0c5af2f8685f9678481e98de468 100644 (file)
@@ -1,2 +1,19 @@
-SConscript(['qhull/SConscript',
-            'solid/SConscript'])
\ No newline at end of file
+#!/usr/bin/python
+
+Import('env')
+
+if env['WITH_BF_GAMEENGINE']:
+    SConscript(['qhull/SConscript',
+            'solid/SConscript'])
+
+if env['WITH_BF_BULLET']:
+    SConscript(['bullet2/src/SConscript'])
+
+if env['WITH_BF_INTERNATIONAL']:
+    SConscript(['bFTGL/SConscript'])
+
+if env['WITH_BF_VERSE']:
+    SConscript(['verse/dist/SConstruct'])
+
+if env['WITH_BF_FFMPEG'] and env['BF_FFMPEG_LIB'] == '':
+    SConscript(['ffmpeg/SConscript']);