=== SCons ===
* enable TWEAK_MODE with BF_TWEAK_MODE=1 on cmd-line. Can also be specified in user-config.py
This commit is contained in:
@@ -9,7 +9,7 @@ maxobj = 30
|
||||
|
||||
numlibs = numobj / maxobj
|
||||
if (numobj % maxobj):
|
||||
numlibs = numlibs + 1
|
||||
numlibs = numlibs + 1
|
||||
subsources = []
|
||||
|
||||
if (env['OURPLATFORM'] == 'win32-mingw'):
|
||||
@@ -33,6 +33,9 @@ incs += ' ' + env['BF_OPENGL_INC']
|
||||
|
||||
defs = []
|
||||
|
||||
if env['BF_TWEAK_MODE'] == 1:
|
||||
defs.append('TWEAK_MODE')
|
||||
|
||||
if env['WITH_BF_YAFRAY'] == 0:
|
||||
defs.append('DISABLE_YAFRAY')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user