diff options
author | Nathan Letwory <nathan@letworyinteractive.com> | 2010-01-14 16:42:15 +0300 |
---|---|---|
committer | Nathan Letwory <nathan@letworyinteractive.com> | 2010-01-14 16:42:15 +0300 |
commit | 6a0a5b54ec2525c05d43cb56346b5577f16287df (patch) | |
tree | 8347bd75ab4b376200ebebfa02183e910fca3989 /tools/btools.py | |
parent | 97dc31c8d3ed634e19437a7bddbf471fafdcdfc9 (diff) |
Little fun feature for SCons users: set BF_LINE_OVERWRITE=True in your user-config.py or on command-line when BF_QUIET=True. This will reuse the same line of the previous compile message (Compiling ==>...). Warnings and other messages will still go on their own lines. Remember to set BF_LINE_OVERWRITE=False when you are redirecting the build output to a file
Diffstat (limited to 'tools/btools.py')
-rw-r--r-- | tools/btools.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/btools.py b/tools/btools.py index b3a97f96417..7dde9a14f6c 100644 --- a/tools/btools.py +++ b/tools/btools.py @@ -66,7 +66,7 @@ def validate_arguments(args, bc): 'WITH_BF_OPENMP', 'WITH_GHOST_COCOA', 'USE_QTKIT', - 'BF_FANCY', 'BF_QUIET', + 'BF_FANCY', 'BF_QUIET', 'BF_LINE_OVERWRITE', 'BF_X264_CONFIG', 'BF_XVIDCORE_CONFIG', 'WITH_BF_LCMS', 'BF_LCMS_LIB', @@ -97,7 +97,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_BUILDDIR', 'BF_FANCY', 'BF_QUICK', 'BF_PROFILE', 'BF_LINE_OVERWRITE', 'BF_BSC', 'BF_CONFIG', 'BF_PRIORITYLIST', 'BF_BUILDINFO','CC', 'CXX', 'BF_QUICKDEBUG', 'BF_LISTDEBUG', 'LCGDIR', 'BF_X264_CONFIG', 'BF_XVIDCORE_CONFIG', @@ -403,6 +403,7 @@ def read_opts(cfg, args): (BoolVariable('WITHOUT_BF_PYTHON_INSTALL', 'dont install Python modules if true', False)), (BoolVariable('BF_FANCY', 'Enable fancy output if true', True)), (BoolVariable('BF_QUIET', 'Enable silent output if true', True)), + (BoolVariable('BF_LINE_OVERWRITE', 'Enable overwriting of compile line in BF_QUIET mode if true', False)), (BoolVariable('WITH_BF_BINRELOC', 'Enable relocatable binary (linux only)', False)), (BoolVariable('WITH_BF_LZO', 'Enable fast LZO pointcache compression', True)), |