added: bitvis (WIP)
This commit is contained in:
parent
8eb8117da3
commit
4d4f7c585c
22 changed files with 2060 additions and 4 deletions
21
wscript
21
wscript
|
@ -16,10 +16,15 @@ def configure(conf):
|
|||
conf.load('compiler_cxx')
|
||||
|
||||
conf.check(header_name='jack/jack.h')
|
||||
conf.check(header_name='fftw3.h')
|
||||
conf.check(header_name='samplerate.h')
|
||||
|
||||
conf.check(lib='pthread', uselib_store='pthread', mandatory=False)
|
||||
conf.check(lib='m', uselib_store='m', mandatory=False)
|
||||
conf.check(lib='fftw3', uselib_store='fftw3')
|
||||
conf.check(lib='fftw3f', uselib_store='fftw3f')
|
||||
conf.check(lib='jack', uselib_store='jack')
|
||||
conf.check(lib='samplerate', uselib_store='samplerate')
|
||||
conf.check(lib='m', uselib_store='m', mandatory=False)
|
||||
conf.check(lib='pthread', uselib_store='pthread', mandatory=False)
|
||||
|
||||
conf.check(function_name='clock_gettime', header_name='time.h', mandatory=False)
|
||||
conf.check(function_name='clock_gettime', header_name='time.h', lib='rt', uselib_store='rt', mandatory=False,
|
||||
|
@ -28,8 +33,16 @@ def configure(conf):
|
|||
conf.write_config_header('config.h')
|
||||
|
||||
def build(bld):
|
||||
bld.program(source='src/main.cpp',
|
||||
use=['m','pthread','rt', 'jack'],
|
||||
bld.program(source='src/main.cpp\
|
||||
src/bitvis.cpp\
|
||||
src/jackclient.cpp\
|
||||
src/util/log.cpp\
|
||||
src/util/misc.cpp\
|
||||
src/util/mutex.cpp\
|
||||
src/util/timeutils.cpp\
|
||||
src/util/condition.cpp\
|
||||
src/fft.cpp',
|
||||
use=['m','pthread','rt', 'jack', 'fftw3', 'fftw3f', 'samplerate'],
|
||||
includes='./src',
|
||||
cxxflags='-Wall -g -DUTILNAMESPACE=BitVisUtil',
|
||||
target='bitvis')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue