summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--autowaf.py8
1 files changed, 8 insertions, 0 deletions
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)