diff options
author | David Robillard <d@drobilla.net> | 2017-12-26 11:00:23 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2017-12-26 11:00:23 -0500 |
commit | d9f2bd6d383cea07388c84049bb511358d70aa57 (patch) | |
tree | 8b59877232f815904ee84aabaa8c2cc2525ea191 /autowaf.py | |
parent | c509caadba7747e4dc724e0bd3cc87c1e8206a68 (diff) | |
download | autowaf-d9f2bd6d383cea07388c84049bb511358d70aa57.tar.gz autowaf-d9f2bd6d383cea07388c84049bb511358d70aa57.tar.bz2 autowaf-d9f2bd6d383cea07388c84049bb511358d70aa57.zip |
Add autowaf.set_line_just
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) |