root/branches/libffado-scons_porting_work/tests/SConscript

Revision 519, 0.7 kB (checked in by arnonym, 17 years ago)

Add the first version of scons-support to ffado.

Everything seems to build correctly. Installing and library-versioning is not implemented yet.

[Hopefully this gets into the right branch.]

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