diff options
author | David Robillard <d@drobilla.net> | 2019-04-14 22:45:55 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2019-04-14 22:45:55 +0200 |
commit | e12717942cf5295d2a10bf1fd8330ef10eabc345 (patch) | |
tree | 5b51db1ebaf3eadffd639b7fb8fe6f4d99f29f7d /wscript | |
parent | 370c6f4d2a04b818adda89f2342f7c42b3782201 (diff) | |
download | lv2-e12717942cf5295d2a10bf1fd8330ef10eabc345.tar.xz |
Support building in a recursive project
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -99,10 +99,12 @@ def configure(conf): if conf.env.BUILD_PLUGINS: for i in conf.path.ant_glob('plugins/*.lv2', src=False, dir=True): try: - conf.recurse(i.srcpath()) - conf.env.LV2_BUILD += [i.srcpath()] - except: - Logs.warn('Configuration failed, %s will not be built\n' % i) + conf.recurse(i.bldpath()) + conf.env.LV2_BUILD += [i.bldpath()] + except Exception as e: + Logs.warn('Configuration failed, not building %s (%s)' % (i, e)) + + autowaf.set_lib_env(conf, 'lv2', VERSION, has_objects=False) autowaf.display_summary( conf, |