root/trunk/libffado/tests/SConscript

Revision 565, 0.9 kB (checked in by ppalmers, 16 years ago)

add support for out-of-tree building using 'scons BUILDDIR=target_build_dir'

Line 
1 #! /usr/bin/env python
2
3 Import( 'env' )
4
5 env = env.Copy()
6
7 env.PrependUnique( CPPPATH=["#/src"] )
8 env.PrependUnique( LIBPATH=[env['build_base']+"src"] )
9 env.PrependUnique( LIBS=["ffado"] )
10
11 #
12 # deactivate as they don't seem ported to the new api: test-extplugcmd, test-mixer, test-volume
13 #
14 #for app in ["test-ffado", "test-extplugcmd", "test-fw410", "test-volume", "test-mixer", "test-cycletimer", "test-timestampedbuffer", "test-ieee1394service", "test-streamdump"]:
15 for app in ["test-ffado", "test-fw410", "test-cycletimer", "test-timestampedbuffer", "test-ieee1394service", "test-streamdump"]:
16         env.Program( target=app, source = app+".cpp" )
17
18 env.Program( target="test-sytmonitor", source = env.Split( "test-sytmonitor.cpp SytMonitor.cpp" ) )
19
20 env.Program( target="test-dbus", source = env.Split( "test-dbus.cpp" ) )
21
22 env.SConscript( dirs="streaming", exports="env" )
23
Note: See TracBrowser for help on using the browser.