X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=libs%2Faudiographer%2Fwscript;h=66f4e80b724171c39e564617b259cb2497eebe77;hb=de2d3057b5393eb17ab1e4d7d4bbf79c8f3c7836;hp=996329777f0a911b317deee12762fe9d3e384c4d;hpb=c1ef7b14a3e1200817180cfaf6425e9bdf0eb51b;p=ardour.git diff --git a/libs/audiographer/wscript b/libs/audiographer/wscript index 996329777f..66f4e80b72 100644 --- a/libs/audiographer/wscript +++ b/libs/audiographer/wscript @@ -44,13 +44,15 @@ def configure(conf): 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 = ''' @@ -93,7 +95,7 @@ def build(bld): 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 '''