root/trunk/libffado/tests/SConscript

Revision 574, 1.2 kB (checked in by ppalmers, 17 years ago)

- scons can now auto-generate the DBUS interface adaptor/proxy classes
- implemented a very basic DBUS client/server pair:

test-dbus and test-dbus-server

- some small missing key fixes in the scons files

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 env.MergeFlags( ["!pkg-config --cflags --libs dbus-1"] )
12
13 #
14 # deactivate as they don't seem ported to the new api: test-extplugcmd, test-mixer, test-volume
15 #
16 #for app in ["test-ffado", "test-extplugcmd", "test-fw410", "test-volume", "test-mixer", "test-cycletimer", "test-timestampedbuffer", "test-ieee1394service", "test-streamdump"]:
17 for app in ["test-ffado", "test-fw410", "test-cycletimer", "test-timestampedbuffer", "test-ieee1394service", "test-streamdump"]:
18     env.Program( target=app, source = app+".cpp" )
19
20 env.Program( target="test-sytmonitor", source = env.Split( "test-sytmonitor.cpp SytMonitor.cpp" ) )
21
22 env.XML2CPP_PROXY('controlclient-glue.h', 'controlstuff.xml')
23 env.Program( target="test-dbus", source = env.Split( "test-dbus.cpp controlclient.cpp" ) )
24
25 env.XML2CPP_ADAPTOR('controlserver-glue.h', 'controlstuff.xml')
26 env.Program( target="test-dbus-server", source = env.Split( "test-dbus-server.cpp controlserver.cpp" ) )
27
28 env.SConscript( dirs="streaming", exports="env" )
29
Note: See TracBrowser for help on using the browser.