2015-03-22 22:15:37 +01:00
|
|
|
#!/usr/bin/env python
|
|
|
|
|
from waflib.extras import autowaf as autowaf
|
|
|
|
|
|
|
|
|
|
top = '.'
|
|
|
|
|
out = 'build'
|
|
|
|
|
|
|
|
|
|
def options(opt):
|
|
|
|
|
autowaf.set_options(opt)
|
|
|
|
|
|
|
|
|
|
def configure(conf):
|
|
|
|
|
conf.load('misc')
|
|
|
|
|
conf.load('compiler_cxx')
|
|
|
|
|
autowaf.configure(conf)
|
|
|
|
|
|
|
|
|
|
def build(bld):
|
2015-03-22 23:37:55 +01:00
|
|
|
if bld.is_defined('WINDOWS_VST_SUPPORT') and bld.env['build_target'] != 'mingw':
|
|
|
|
|
return;
|
|
|
|
|
|
2015-03-22 22:15:37 +01:00
|
|
|
obj = bld (features = 'cxx c cxxprogram')
|
2015-03-22 22:26:00 +01:00
|
|
|
obj.source = 'cfgtool.cc'
|
|
|
|
|
obj.target = 'cfgtool'
|
|
|
|
|
obj.use = [ 'libpbd', 'libardour', ]
|
|
|
|
|
obj.use = [ 'libpbd', 'libardour', ]
|
|
|
|
|
obj.install_path = None
|