* Minor cleanup of SCons files
- cleanup of boolean usage - use True and False now instead of 'true'/'false' or 0/1 - changed SConscripts accordingly
This commit is contained in:
@@ -155,7 +155,7 @@ def setup_syslibs(lenv):
|
||||
]
|
||||
|
||||
if not lenv['WITH_BF_STATICPYTHON']:
|
||||
if lenv['BF_DEBUG']==1 and lenv['OURPLATFORM'] in ('win32-vc'):
|
||||
if lenv['BF_DEBUG'] and lenv['OURPLATFORM'] in ('win32-vc'):
|
||||
syslibs.append(lenv['BF_PYTHON_LIB']+'_d')
|
||||
else:
|
||||
syslibs.append(lenv['BF_PYTHON_LIB'])
|
||||
@@ -215,7 +215,7 @@ def buildinfo(lenv, build_type):
|
||||
build_rev = os.popen('svnversion').read()[:-1] # remove \n
|
||||
|
||||
obj = []
|
||||
if lenv['BF_BUILDINFO']==1: #user_options_dict['USE_BUILDINFO'] == 1:
|
||||
if lenv['BF_BUILDINFO']:
|
||||
if sys.platform=='win32':
|
||||
build_info_file = open("source/creator/winbuildinfo.h", 'w')
|
||||
build_info_file.write("char *build_date=\"%s\";\n"%build_date)
|
||||
|
Reference in New Issue
Block a user