py/rna remove functions now all work in a similar way.
[blender.git] / source / SConscript
index f5ace6e8be73ae1592748917d340f879fe7c85a4..3944a3c6df5d485fc8c6bd9dec53415012067f65 100644 (file)
@@ -1,8 +1,14 @@
 #!/usr/bin/python
-Import ('user_options_dict')
+Import ('env')
 
 SConscript(['blender/SConscript',
-            'kernel/SConscript',
-            'creator/SConscript'])
-if user_options_dict['BUILD_GAMEENGINE'] == 1:
-    SConscript (['gameengine/SConscript'])
+                       'kernel/SConscript',
+                       'creator/SConscript'])
+if env['WITH_BF_GAMEENGINE']:
+       SConscript (['gameengine/SConscript'])
+
+if env['WITH_BF_PLAYER']:
+       SConscript (['blenderplayer/bad_level_call_stubs/SConscript'])
+
+if env['OURPLATFORM'] in ('win64-vc', 'win32-vc', 'win32-mingw', 'linuxcross'):
+       SConscript (['icons/SConscript'])