13
0
livetrax/libs/backends/wscript
Mads Kiilerich 2bb311f99b wscript: don't add pointless -DHAVE_X for each mandatory subdir
The sub_config_and_use function recursed, but it also invoked
autowaf.set_local_lib , which however didn't do anything useful. The
HAVE_ defines are not used anywhere, and the AUTOWAF_LOCAL defines are
only used in autowaf.use_lib, which however isn't used anywhere.

Dropping these defines simplify the build environment and makes the
compiler command line half as long and thus makes debugging much more
manageable.
2023-10-15 10:47:16 -06:00

19 lines
328 B
Python

#!/usr/bin/env python
from waflib.extras import autowaf as autowaf
def options(opt):
pass
def configure(conf):
autowaf.set_recursive()
backends = conf.env['BACKENDS']
for i in backends:
conf.recurse(i)
def build(bld):
backends = bld.env['BACKENDS']
for i in backends:
bld.recurse(i)