BGE Python API cleanup - no functionality changes
[blender.git] / source / SConscript
index f5ace6e8be73ae1592748917d340f879fe7c85a4..9b497edd85a7b7b83da3c627561c13a56f3ae28d 100644 (file)
@@ -1,8 +1,11 @@
 #!/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['OURPLATFORM'] in ('win32-vc', 'win32-mingw'):
+       SConscript (['icons/SConscript'])