13
0

Fix building unit-tests

This commit is contained in:
Robin Gareus 2020-01-27 17:43:37 +01:00
parent f101a657f2
commit 5c789547cb
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04
4 changed files with 5 additions and 5 deletions

View File

@ -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']

View File

@ -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 = ''

View File

@ -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 = ''

View File

@ -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']