diff options
author | Ken Hughes <khughes@pacific.edu> | 2008-10-20 01:25:17 +0400 |
---|---|---|
committer | Ken Hughes <khughes@pacific.edu> | 2008-10-20 01:25:17 +0400 |
commit | a6b1c0a8ccb54aa75cc5b1d340fa567ccf4af3e7 (patch) | |
tree | 00f0f80730d672b4e673c5b8936b35ff732c2d64 /tools | |
parent | 18072f55833d1b7f2451a887059b208d87d51761 (diff) |
Added WITH_BF_NOBLENDER to scons so that blenderplayer can be compiler by itself (false by default). Also added dependency for 'blender' on command line; seems 'blender' was intended to be a target, but would give the error "Do not know how to make target `blender' ".
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/btools.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/btools.py b/tools/btools.py index 4c5e0dd3527..04ff9bcd914 100755 --- a/tools/btools.py +++ b/tools/btools.py @@ -52,6 +52,7 @@ def validate_arguments(args, bc): 'WITH_BF_STATICOPENGL', 'BF_OPENGL', 'BF_OPENGL_INC', 'BF_OPENGL_LIB', 'BF_OPENGL_LIBPATH', 'BF_OPENGL_LIB_STATIC', 'BF_OPENGL_LINKFLAGS', 'WITH_BF_FTGL', 'BF_FTGL', 'BF_FTGL_INC', 'BF_FTGL_LIB', 'WITH_BF_PLAYER', + 'WITH_BF_NOBLENDER', 'WITH_BF_BINRELOC', 'CFLAGS', 'CCFLAGS', 'CPPFLAGS', 'REL_CFLAGS', 'REL_CCFLAGS', @@ -310,6 +311,7 @@ def read_opts(cfg, args): ('BF_FTGL_LIB', 'FTGL libraries', ''), (BoolOption('WITH_BF_PLAYER', 'Build blenderplayer if true', 'false')), + (BoolOption('WITH_BF_NOBLENDER', 'Do not build blender if true', 'false')), ('CFLAGS', 'C-compiler flags', ''), ('CCFLAGS', 'C++-compiler flags', ''), |