- Timestamp:
- Feb 8, 2016, 6:07:23 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:
- 9590e81
- Parents:
- 7e80dc9
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
wscript
r7e80dc9 ra33d406 86 86 help_disable_str = 'do not use Atlas library') 87 87 88 add_option_enable_disable(ctx, 'docs', default = None, 89 help_str = 'build documentation (auto)', 90 help_disable_str = 'do not build documentation') 91 88 92 ctx.add_option('--with-target-platform', type='string', 89 93 help='set target platform for cross-compilation', dest='target_platform') … … 283 287 ctx.define('PACKAGE', APPNAME) 284 288 285 # check if txt2man is installed, optional 286 try: 287 ctx.find_program('txt2man', var='TXT2MAN') 288 except ctx.errors.ConfigurationError: 289 ctx.to_log('txt2man was not found (ignoring)') 290 291 # check if doxygen is installed, optional 292 try: 293 ctx.find_program('doxygen', var='DOXYGEN') 294 except ctx.errors.ConfigurationError: 295 ctx.to_log('doxygen was not found (ignoring)') 289 if (ctx.options.enable_docs != False): 290 # check if txt2man is installed, optional 291 try: 292 ctx.find_program('txt2man', var='TXT2MAN') 293 except ctx.errors.ConfigurationError: 294 ctx.to_log('txt2man was not found (ignoring)') 295 296 # check if doxygen is installed, optional 297 try: 298 ctx.find_program('doxygen', var='DOXYGEN') 299 except ctx.errors.ConfigurationError: 300 ctx.to_log('doxygen was not found (ignoring)') 296 301 297 302 def build(bld): … … 301 306 # add sub directories 302 307 bld.recurse('src') 303 if bld.env['DEST_OS'] not in ['ios', 'iosimulator']:304 pass305 308 if bld.env['DEST_OS'] not in ['ios', 'iosimulator', 'android']: 306 309 bld.recurse('examples')
Note: See TracChangeset
for help on using the changeset viewer.