Rename system_midi:* back to system:midi_*
[jack2.git] / tests / wscript
blob756fd3bba36f17e1f24b28cb22d4399e1cafa2ef
1 #! /usr/bin/env python
2 # encoding: utf-8
4 test_programs = {
5 # For testing purposes
6 #'synchroClient': ['testSynchroClient.cpp'],
7 #'synchroServer': ['testSynchroServer.cpp'],
8 #'synchroServerClient': ['testSynchroServerClient.cpp'],
9 #'testSem': ['testSem.cpp'],
10 'jack_test': ['test.cpp'],
11 'jack_cpu': ['cpu.c'],
12 'jack_iodelay': ['iodelay.cpp'],
13 'jack_multiple_metro' : ['external_metro.cpp'],
16 def build(bld):
17 for test_program, test_program_sources in list(test_programs.items()):
18 prog = bld(features = 'cxx cxxprogram')
19 if bld.env['IS_MACOSX']:
20 prog.includes = ['..','../macosx', '../posix', '../common/jack', '../common']
21 if bld.env['IS_LINUX']:
22 prog.includes = ['..','../linux', '../posix', '../common/jack', '../common']
23 if bld.env['IS_SUN']:
24 prog.includes = ['..','../solaris', '../posix', '../common/jack', '../common']
25 prog.source = test_program_sources
26 if bld.env['IS_LINUX']:
27 prog.uselib = 'RT'
28 prog.use = 'clientlib'
29 prog.target = test_program
30 #prog.cxxflags = ['-Wno-deprecated-declarations']