From 5db477ce0633673667961dc27842922d70c58e58 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 16 Sep 2018 14:26:20 +0200 Subject: Automatically define version for child libraries --- extras/autowaf.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'extras') diff --git a/extras/autowaf.py b/extras/autowaf.py index a4a06ba..fe93c07 100644 --- a/extras/autowaf.py +++ b/extras/autowaf.py @@ -441,6 +441,8 @@ def set_lib_env(conf, name, version): conf.env['LIBPATH_' + NAME] = [conf.env.LIBDIR] conf.env['LIB_' + NAME] = [lib_name] + conf.define(NAME + '_VERSION', version) + def set_line_just(conf, width): global line_just line_just = max(line_just, width) -- cgit v1.2.1