don't build game engine by default, and print a warning if game player is enabled.
authorJoseph Eagar <joeedh@gmail.com>
Thu, 11 Jun 2009 20:47:14 +0000 (20:47 +0000)
committerJoseph Eagar <joeedh@gmail.com>
Thu, 11 Jun 2009 20:47:14 +0000 (20:47 +0000)
SConstruct
tools/btools.py

index 125594f69c5c26bbcd1a1ee4369941d8a1079689..dcea0f511ebb9f94cfb788391b38c7b25254cddf 100644 (file)
@@ -404,6 +404,9 @@ dobj = B.buildinfo(env, "dynamic") + B.resources
 thestatlibs, thelibincs = B.setup_staticlibs(env)
 thesyslibs = B.setup_syslibs(env)
 
+if env['WITH_BF_PLAYER']:
+       print("Warning: Game player may not build on 2.5")
+
 if 'blender' in B.targets or not env['WITH_BF_NOBLENDER']:
        #env.BlenderProg(B.root_build_dir, "blender", dobj , [], mainlist + thestatlibs + thesyslibs, [B.root_build_dir+'/lib'] + thelibincs, 'blender')
        env.BlenderProg(B.root_build_dir, "blender", dobj + mainlist, [], thestatlibs + thesyslibs, [B.root_build_dir+'/lib'] + thelibincs, 'blender')
index bbf8d0a232e2c866dcd439d2abfe682efaa0d66b..7a71e1b678deb6164875ce69156b8c7a70f61fcb 100755 (executable)
@@ -157,7 +157,7 @@ def read_opts(cfg, args):
                (BoolVariable('WITH_BF_STATICPYTHON', 'Staticly link to python', False)),
 
                (BoolVariable('BF_NO_ELBEEM', 'Disable Fluid Sim', False)),
-
+               ('BF_PROFILE_FLAGS', 'Profiling compiler flags', ''),
                (BoolVariable('WITH_BF_OPENAL', 'Use OpenAL if true', False)),
                ('BF_OPENAL', 'base path for OpenAL', ''),
                ('BF_OPENAL_INC', 'include path for python headers', ''),
@@ -248,7 +248,7 @@ def read_opts(cfg, args):
                ('BF_ICONV_LIB', 'iconv library', ''),
                ('BF_ICONV_LIBPATH', 'iconv library path', ''),
                
-               (BoolVariable('WITH_BF_GAMEENGINE', 'Build with gameengine' , True)),
+               (BoolVariable('WITH_BF_GAMEENGINE', 'Build with gameengine' , False)),
 
                (BoolVariable('WITH_BF_ODE', 'Use ODE if true', True)),
                ('BF_ODE', 'ODE base path', ''),