==SCons==
authorNathan Letwory <nathan@letworyinteractive.com>
Fri, 24 Feb 2006 18:55:44 +0000 (18:55 +0000)
committerNathan Letwory <nathan@letworyinteractive.com>
Fri, 24 Feb 2006 18:55:44 +0000 (18:55 +0000)
* compile game-engine libs only when actually enabled

extern/SConscript

index 4228c50ce7c54780cb503ecb05f9e46ed447ae17..34e5b10d56282483b87095326b2c4e34909daddc 100644 (file)
@@ -2,9 +2,11 @@
 
 Import('env')
 
-SConscript(['qhull/SConscript',
-            'solid/SConscript',
-            'bullet/SConscript'])
+if env['WITH_BF_GAMEENGINE']:
+    SConscript(['qhull/SConscript',
+            'solid/SConscript'])
+if env['WITH_BF_BULLET']:
+    SConscript(['bullet/SConscript'])
 
 if env['WITH_BF_INTERNATIONAL']:
     SConscript(['bFTGL/SConscript'])