def build(bld):
# Headers
- #bld.install_files('${INCLUDEDIR}/audiographer', 'audiographer/*.h')
- #bld.install_files('${INCLUDEDIR}/audiographer/general', 'audiographer/general/*.h')
- #bld.install_files('${INCLUDEDIR}/audiographer/sndfile', 'audiographer/sndfile/*.h')
- #bld.install_files('${INCLUDEDIR}/audiographer/utils', 'audiographer/utils/*.h')
+ #bld.install_files('${INCLUDEDIR}/audiographer', bld.path.ant_glob('audiographer/*.h'))
+ #bld.install_files('${INCLUDEDIR}/audiographer/general', bld.path.ant_glob('audiographer/general/*.h'))
+ #bld.install_files('${INCLUDEDIR}/audiographer/sndfile', bld.path.ant_glob('audiographer/sndfile/*.h'))
+ #bld.install_files('${INCLUDEDIR}/audiographer/utils', bld.path.ant_glob('audiographer/utils/*.h'))
#bld.env['BUILD_TESTS'] = True
- bld.env['HAVE_ALL_GTHREAD'] = bld.env['HAVE_GLIB'] and bld.env['HAVE_GLIBMM'] and bld.env['HAVE_GTHREAD']
+ bld.env['HAVE_ALL_GTHREAD'] = (bld.is_defined('HAVE_GLIB')
+ and bld.is_defined('HAVE_GLIBMM')
+ and bld.is_defined('HAVE_GTHREAD'))
audiographer = bld(features = 'cxx cxxshlib')
audiographer.source = '''
tests/general/silence_trimmer_test.cc
'''
- if bld.env['HAVE_ALL_GTHREAD']:
+ if bld.is_defined('HAVE_ALL_GTHREAD'):
obj.source += '''
tests/general/threader_test.cc
'''