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' ".
This commit is contained in:
@@ -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', ''),
|
||||
|
Reference in New Issue
Block a user