Fix building unit-tests
This commit is contained in:
parent
f101a657f2
commit
5c789547cb
@ -509,7 +509,7 @@ def build(bld):
|
||||
testcommon.includes = obj.includes + ['test', '../pbd', '..']
|
||||
testcommon.source = ['test/testrunner.cc', 'test/test_needing_session.cc',
|
||||
'test/dummy_lxvst.cc', 'test/audio_region_test.cc', 'test/test_util.cc', 'test/test_ui.cc']
|
||||
testcommon.uselib = ['CPPUNIT','SIGCPP','GLIBMM','GTHREAD',
|
||||
testcommon.uselib = ['CPPUNIT','SIGCPP','GLIBMM','GTHREAD', 'OSX',
|
||||
'SAMPLERATE','XML','LRDF','COREAUDIO','TAGLIB','VAMPSDK','VAMPHOSTSDK','RUBBERBAND']
|
||||
testcommon.use = ['libpbd','libmidipp','libevoral',
|
||||
'libaudiographer','libardour']
|
||||
|
@ -150,7 +150,7 @@ def build(bld):
|
||||
'''
|
||||
obj.includes = ['.', './src']
|
||||
obj.use = 'libevoral_static'
|
||||
obj.uselib = 'CPPUNIT SNDFILE LIBPBD'
|
||||
obj.uselib = 'GLIBMM GTHREAD SMF XML LIBPBD OSX CPPUNIT'
|
||||
obj.target = 'run-tests'
|
||||
obj.name = 'libevoral-tests'
|
||||
obj.install_path = ''
|
||||
|
@ -83,7 +83,7 @@ def build(bld):
|
||||
'''
|
||||
obj.includes = ['.', './src']
|
||||
obj.use = 'libmidipp'
|
||||
obj.uselib = 'CPPUNIT XML'
|
||||
obj.uselib = 'GLIBMM SIGCPP XML OSX CPPUNIT'
|
||||
obj.target = 'run-tests'
|
||||
obj.name = 'libmidipp-tests'
|
||||
obj.install_path = ''
|
||||
|
@ -214,9 +214,9 @@ def build(bld):
|
||||
testobj.source += [ 'test/windows_timer_utils_test.cc' ]
|
||||
testobj.target = 'run-tests'
|
||||
testobj.includes = obj.includes + ['test', '../pbd']
|
||||
testobj.uselib = 'CPPUNIT XML SNDFILE'
|
||||
testobj.uselib = 'GLIBMM SIGCPP XML UUID SNDFILE GIOMM ARCHIVE CURL XML OSX CPPUNIT'
|
||||
testobj.use = 'libpbd'
|
||||
testobj.name = 'libpbd-tests'
|
||||
testobj.defines = [ 'PACKAGE="' + I18N_PACKAGE + '"' ]
|
||||
if sys.platform != 'darwin' and bld.env['build_target'] != 'mingw':
|
||||
testobj.linkflags = ['-lrt']
|
||||
testobj.lib = ['rt']
|
||||
|
Loading…
Reference in New Issue
Block a user