Changeset 552
- Timestamp:
- 08/21/07 13:30:13 (16 years ago)
- Files:
-
- branches/libffado-scons_porting_work/SConstruct (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/libffado-scons_porting_work/SConstruct
r534 r552 12 12 opts = Options( "cache/options.cache" ) 13 13 14 opts.Add( BoolOption( "DEBUG", "Toggle debug-build.", True ) )15 14 opts.AddOptions( 15 BoolOption( "DEBUG", """ 16 Toggle debug-build. DEBUG means \"-g -Wall\" and more, otherwise we will use 17 \"-O2\" to optimise.""", True ), 18 PathOption( "PREFIX", "The prefix where ffado will be installed to.", "/usr/local" ), 16 19 BoolOption( "ENABLE_BEBOB", "Enable/Disable the bebob part.", True ), 17 20 BoolOption( "ENABLE_MOTU", "Enable/Disable the Motu part.", False ), … … 20 23 BoolOption( "ENABLE_RME", "Enable/Disable the RME part.", False ), 21 24 BoolOption( "ENABLE_BOUNCE", "Enable/Disable the BOUNCE part.", False ), 22 PathOption( "PREFIX", "The prefix where ffado will be installed to.", "/usr/local" ), 25 BoolOption( "ENABLE_ALL", "Enable/Disable support for all devices.", False ), 26 BoolOption( "BUILD_TESTS", """ 27 Build the tests in their directory. As some contain quite some functionality, 28 this is on by default. 29 If you just want to use ffado with jack without the tools, you can disable this. 30 """, True ), 23 31 ) 24 32 … … 34 42 For example with: "rm -Rf .sconsign.dblite cache" 35 43 36 Currently it seems as if only the BEBOB and the MOTU drivers are37 kind-of-working, thats why only BEBOBis enabled by default.44 Currently it seems as if only the BEBOB is kind-of-working, thats why only BEBOB 45 is enabled by default. 38 46 39 47 Note that this is a development version! Don't complain if its not working! … … 79 87 env.AppendUnique( CCFLAGS=["-O2"] ) 80 88 81 82 if env['ENABLE_BEBOB']: 89 if env['ENABLE_BEBOB'] or env['ENABLE_ALL']: 83 90 env.AppendUnique( CCFLAGS=["-DENABLE_BEBOB"] ) 84 if env['ENABLE_MOTU'] :91 if env['ENABLE_MOTU'] or env['ENABLE_ALL']: 85 92 env.AppendUnique( CCFLAGS=["-DENABLE_MOTU"] ) 86 if env['ENABLE_DICE'] :93 if env['ENABLE_DICE'] or env['ENABLE_ALL']: 87 94 env.AppendUnique( CCFLAGS=["-DENABLE_DICE"] ) 88 if env['ENABLE_METRIC_HALO'] :95 if env['ENABLE_METRIC_HALO'] or env['ENABLE_ALL']: 89 96 env.AppendUnique( CCFLAGS=["-DENABLE_METRIC_HALO"] ) 90 if env['ENABLE_RME'] :97 if env['ENABLE_RME'] or env['ENABLE_ALL']: 91 98 env.AppendUnique( CCFLAGS=["-DENABLE_RME"] ) 92 if env['ENABLE_BOUNCE'] :99 if env['ENABLE_BOUNCE'] or env['ENABLE_ALL']: 93 100 env.AppendUnique( CCFLAGS=["-DENABLE_BOUNCE"] ) 94 101 … … 132 139 if not env.GetOption('clean'): 133 140 Default( 'src' ) 141 if env['BUILD_TESTS']: 142 Default( 'tests' ) 134 143 #env.Alias( "install", env["cachedir"], os.makedirs( env["cachedir"] ) ) 135 144 env.Alias( "install", env.Install( env["cachedir"], "" ) ) #os.makedirs( env["cachedir"] ) )