- Timestamp:
- Sep 5, 2015, 12:27:38 PM (9 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:
- f264b17
- Parents:
- b257b60 (diff), f45dd12 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
wscript
rb257b60 r60fc05b 76 76 help_str = 'build fat binaries (darwin only)', 77 77 help_disable_str = 'do not build fat binaries (default)') 78 add_option_enable_disable(ctx, 'accelerate', default = None, 79 help_str = 'use Accelerate framework (darwin only) (auto)', 80 help_disable_str = 'do not use Accelerate framework') 81 add_option_enable_disable(ctx, 'apple-audio', default = None, 82 help_str = 'use CoreFoundation (darwin only) (auto)', 83 help_disable_str = 'do not use CoreFoundation framework') 78 84 79 85 ctx.add_option('--with-target-platform', type='string', … … 111 117 112 118 if target_platform in [ 'darwin', 'ios', 'iosimulator']: 113 ctx.env.FRAMEWORK = ['CoreFoundation', 'AudioToolbox', 'Accelerate'] 114 ctx.define('HAVE_SOURCE_APPLE_AUDIO', 1) 115 ctx.define('HAVE_SINK_APPLE_AUDIO', 1) 116 ctx.define('HAVE_ACCELERATE', 1) 119 if (ctx.options.enable_apple_audio != False): 120 ctx.env.FRAMEWORK += ['CoreFoundation', 'AudioToolbox'] 121 ctx.define('HAVE_SOURCE_APPLE_AUDIO', 1) 122 ctx.define('HAVE_SINK_APPLE_AUDIO', 1) 123 if (ctx.options.enable_accelerate != False): 124 ctx.define('HAVE_ACCELERATE', 1) 125 ctx.env.FRAMEWORK += ['Accelerate'] 117 126 118 127 if target_platform in [ 'ios', 'iosimulator' ]: 119 ctx.define('TARGET_OS_IPHONE', 1)120 128 MINSDKVER="6.1" 121 129 ctx.env.CFLAGS += ['-std=c99'] 130 if (ctx.options.enable_audio_unit != False): 131 ctx.define('HAVE_AUDIO_UNIT', 1) 132 #ctx.env.FRAMEWORK += ['CoreFoundation', 'AudioToolbox'] 122 133 if target_platform == 'ios': 123 134 DEVROOT = "/Applications/Xcode.app/Contents" … … 239 250 args = '--cflags --libs', uselib_store = 'AVRESAMPLE', 240 251 mandatory = ctx.options.enable_avcodec) 241 if all ( 'HAVE_' + i in ctx.env .define_key252 if all ( 'HAVE_' + i in ctx.env 242 253 for i in ['AVCODEC', 'AVFORMAT', 'AVUTIL', 'AVRESAMPLE'] ): 243 254 ctx.define('HAVE_LIBAV', 1)
Note: See TracChangeset
for help on using the changeset viewer.