diff options
author | Nathan Letwory <nathan@letworyinteractive.com> | 2006-02-04 19:36:37 +0300 |
---|---|---|
committer | Nathan Letwory <nathan@letworyinteractive.com> | 2006-02-04 19:36:37 +0300 |
commit | 4e82647e86b9de7a30d5035f49cf34f00fbe1934 (patch) | |
tree | f5ad212e3af9b5937d37a762bc6a7b2221e415a8 /tools | |
parent | 41356305eef7534b511292caa133d0d2cdd0c603 (diff) |
==SCons==
+ BF_BUILDINFO=1 (by default) for build info in splash
- remove redundant renderconverter include dir
* check for win32-vc instead of only win32, so MingW compile goes ok
Diffstat (limited to 'tools')
-rw-r--r-- | tools/Blender.py | 2 | ||||
-rwxr-xr-x | tools/btools.py | 6 |
2 files changed, 5 insertions, 3 deletions
diff --git a/tools/Blender.py b/tools/Blender.py index 2c761ca4a18..10865e3fbc6 100644 --- a/tools/Blender.py +++ b/tools/Blender.py @@ -171,7 +171,7 @@ def buildinfo(lenv, build_type): build_date = time.strftime ("%Y-%m-%d") build_time = time.strftime ("%H:%M:%S") obj = [] - if True: #user_options_dict['USE_BUILDINFO'] == 1: + if lenv['BF_BUILDINFO']==1: #user_options_dict['USE_BUILDINFO'] == 1: if sys.platform=='win32': build_info_file = open("source/creator/winbuildinfo.h", 'w') build_info_file.write("char *build_date=\"%s\";\n"%build_date) diff --git a/tools/btools.py b/tools/btools.py index fbfe7885499..ee6dfbf54f3 100755 --- a/tools/btools.py +++ b/tools/btools.py @@ -41,7 +41,7 @@ def validate_arguments(args, bc): arg_list = ['BF_DEBUG', 'BF_QUIET', 'BF_CROSS', 'BF_UPDATE', 'BF_INSTALLDIR', 'BF_TOOLSET', 'BF_BINNAME', 'BF_BUILDDIR', 'BF_FANCY', 'BF_QUICK', 'BF_PROFILE', 'BF_DEBUG', - 'BF_PRIORITYLIST' + 'BF_PRIORITYLIST', 'BF_BUILDINFO' ] all_list = opts_list + arg_list @@ -249,7 +249,9 @@ def read_opts(cfg, args): ('BF_DEBUG_FLAGS', 'Debug flags', ''), ('BF_BUILDDIR', 'Build dir', ''), - ('BF_INSTALLDIR', 'Installation dir', '') + ('BF_INSTALLDIR', 'Installation dir', ''), + + (BoolOption('BF_BUILDINFO', 'Buildtime in splash if true', 'true')) ) # end of opts.AddOptions() |