From d9f2bd6d383cea07388c84049bb511358d70aa57 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Tue, 26 Dec 2017 11:00:23 -0500 Subject: Add autowaf.set_line_just --- autowaf.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/autowaf.py b/autowaf.py index 032e619..64aa435 100644 --- a/autowaf.py +++ b/autowaf.py @@ -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) -- cgit v1.2.1