2013-04-20 11:37:36 +01:00
|
|
|
#! /usr/bin/env python
|
|
|
|
|
|
|
|
VERSION='5.0.0'
|
|
|
|
APPNAME='Luppp'
|
|
|
|
|
|
|
|
top = '.'
|
|
|
|
out = '.build'
|
|
|
|
|
|
|
|
def options(opt):
|
|
|
|
opt.load('compiler_cxx')
|
|
|
|
|
|
|
|
def configure(conf):
|
|
|
|
conf.load('compiler_cxx')
|
|
|
|
conf.env.append_value('CXXFLAGS', ['-g', '-Wall']) #'-O2'
|
2013-04-20 11:50:30 +01:00
|
|
|
conf.check_cfg(package='ntk',at_least_version='1.3',args='--cflags --libs',uselib_store='NTK')
|
2013-04-20 11:37:36 +01:00
|
|
|
conf.check_cfg(package='jack',at_least_version='0.118',args='--cflags --libs',uselib_store='JACK')
|
|
|
|
#conf.check_cfg(package='lilv-0',at_least_version='1.0',args='--cflags --libs',uselib_store='LILV')
|
|
|
|
#conf.check_cfg(package='sndfile',at_least_version='1.0',args='--cflags --libs',uselib_store='SNDFILE')
|
|
|
|
|
|
|
|
def build(bld):
|
|
|
|
|
2013-04-20 11:50:30 +01:00
|
|
|
sources = ['src/gui.cxx',
|
|
|
|
'src/main.cxx',
|
2013-04-20 11:37:36 +01:00
|
|
|
'src/jack.cxx',
|
2013-05-15 02:55:51 +01:00
|
|
|
'src/looper.cxx',
|
2013-05-16 13:38:46 +01:00
|
|
|
'src/eventhandlergui.cxx',
|
2013-04-20 11:37:36 +01:00
|
|
|
'src/eventhandlerdsp.cxx']
|
|
|
|
|
2013-04-20 11:50:30 +01:00
|
|
|
bld.program(source = sources, target='luppp5', use='JACK NTK')
|
2013-04-20 11:37:36 +01:00
|
|
|
|