diff options
Diffstat (limited to 'autowaf.py')
-rw-r--r-- | autowaf.py | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -21,6 +21,9 @@ g_is_child = False global g_step g_step = 0 +global line_just +line_just = 40 + # Compute dependencies globally #import preproc #preproc.go_absolute = True @@ -360,6 +363,11 @@ def set_lib_env(conf, name, version): conf.env['LIBPATH_' + NAME] = [conf.env.LIBDIR] conf.env['LIB_' + NAME] = [lib_name] +def set_line_just(conf, width): + global line_just + line_just = max(line_just, width) + conf.line_just = line_just + def display_header(title): Logs.pprint('BOLD', title) |