root/trunk/libffado/tests/SConscript

Revision 663, 1.6 kB (checked in by ppalmers, 13 years ago)

- Implement backend for ECHO FireWorks? mixer support

Line 
1 #! /usr/bin/env python
2
3 Import( 'env' )
4
5 env = env.Copy()
6
7 env.PrependUnique( CPPPATH=["#/src", "#/external/dbus/include"] )
8 env.PrependUnique( LIBPATH=[env['build_base']+"src", env['build_base']+"external/dbus"] )
9 env.PrependUnique( LIBS=["ffado", "dbus-c++"] )
10
11 if not env.GetOption( "clean" ):
12         env.MergeFlags( env["DBUS1_FLAGS"] )
13         env.MergeFlags( env['LIBRAW1394_FLAGS'] )
14         env.MergeFlags( env['LIBXML26_FLAGS'] )
15
16 env.Xml2Cpp_Proxy('controlclient-glue.h', 'control-interface.xml')
17 env.Xml2Cpp_Adaptor('controlserver-glue.h', 'control-interface.xml')
18
19 #
20 # deactivate as they don't seem ported to the new api: test-extplugcmd,
21 # test-mixer, test-volume
22 #
23 apps = {
24         "test-ffado" : "test-ffado.cpp controlserver.cpp",
25         "test-fw410" : "test-fw410.cpp",
26         "test-avccmd" : "test-avccmd.cpp",
27         #"test-extplugcmd" : "test-extplugcmd.cpp",
28         #"test-volume" : "test-volume.cpp",
29         #"test-mixer" : "test-mixer.cpp",
30         "test-cycletimer" : "test-cycletimer.cpp",
31         "test-timestampedbuffer" : "test-timestampedbuffer.cpp",
32         "test-ieee1394service" : "test-ieee1394service.cpp",
33         "test-streamdump" : "test-streamdump.cpp",
34         "test-sytmonitor" : "test-sytmonitor.cpp SytMonitor.cpp",
35         "test-dbus" : "test-dbus.cpp controlclient.cpp",
36         "test-dbus-server" : "test-dbus-server.cpp controlserver.cpp",
37 }
38
39 if env['ENABLE_BEBOB']:
40         apps.update( { "test-focusrite" : "test-focusrite.cpp" } )
41 if env['ENABLE_FIREWORKS']:
42         apps.update( { "test-echomixer" : "test-echomixer.cpp" } )
43
44 for app in apps.keys():
45         env.Program( target=app, source = env.Split( apps[app] ) )
46
47 env.SConscript( dirs="streaming", exports="env" )
48
Note: See TracBrowser for help on using the browser.