Changeset 3819aca
- Timestamp:
- Oct 15, 2013, 5:57:00 PM (11 years ago)
- Branches:
- feature/autosink, feature/cnn, feature/cnn_org, feature/constantq, feature/crepe, feature/crepe_org, feature/pitchshift, feature/pydocstrings, feature/timestretch, fix/ffmpeg5, master, pitchshift, sampler, timestretch, yinfft+
- Children:
- 08bd8e0
- Parents:
- 2c2fe44
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
wscript
r2c2fe44 r3819aca 31 31 out = 'build' 32 32 33 def add_option_enable_disable(ctx, name, default = None, help_str = None, help_disable_str = None): 34 if help_str == None: 35 help_str = 'enable ' + name + ' support' 36 if help_disable_str == None: 37 help_disable_str = 'do not ' + help_str 38 ctx.add_option('--enable-' + name, action = 'store_true', default = default, 39 dest = 'enable_' + name, 40 help = help_str) 41 ctx.add_option('--disable-' + name, action = 'store_false', 42 #default = default, 43 dest = 'enable_' + name, 44 help = help_disable_str ) 45 33 46 def options(ctx): 34 ctx.add_option('--enable-double', action='store_true', default=False, 35 help='compile aubio in double precision mode') 36 ctx.add_option('--enable-fftw3f', action='store_true', default=False, 37 help='compile with fftw3f instead of ooura (recommended)') 38 ctx.add_option('--enable-fftw3', action='store_true', default=False, 39 help='compile with fftw3 instead of ooura (recommended in double precision)') 40 ctx.add_option('--enable-complex', action='store_true', default=False, 41 help='compile with C99 complex') 42 ctx.add_option('--enable-jack', action='store_true', default=None, 43 help='compile with jack support') 44 ctx.add_option('--enable-lash', action='store_true', default=None, 45 help='compile with lash support') 46 ctx.add_option('--enable-sndfile', action='store_true', default=None, 47 help='compile with libsndfile support') 48 ctx.add_option('--enable-samplerate', action='store_true', default=None, 49 help='compile with libsamplerate support') 47 add_option_enable_disable(ctx, 'double', default = False, 48 help_str = 'compile aubio in double precision mode') 49 add_option_enable_disable(ctx, 'fftw3f', default = False, 50 help_str = 'compile with fftw3f instead of ooura (recommended)', help_disable_str = 'do not compile with fftw3f') 51 add_option_enable_disable(ctx, 'fftw3', default = False, 52 help_str = 'compile with fftw3 instead of ooura', help_disable_str = 'do not compile with fftw3') 53 add_option_enable_disable(ctx, 'complex', default = False, 54 help_str ='compile with C99 complex', help_disable_str = 'do not use C99 complex (default)' ) 55 add_option_enable_disable(ctx, 'jack', default = None, 56 help_str = 'compile with jack (auto)', help_disable_str = 'disable jack support') 57 add_option_enable_disable(ctx, 'lash', default = None, 58 help_str = 'compile with LASH (auto)', help_disable_str = 'disable LASH' ) 59 add_option_enable_disable(ctx, 'sndfile', default = None, 60 help_str = 'compile with sndfile (auto)', help_disable_str = 'disable sndfile') 61 add_option_enable_disable(ctx, 'samplerate', default = None, 62 help_str = 'compile with samplerate (auto)', help_disable_str = 'disable samplerate') 63 50 64 ctx.add_option('--with-target-platform', type='string', 51 65 help='set target platform for cross-compilation', dest='target_platform')
Note: See TracChangeset
for help on using the changeset viewer.