Changes in / [4084cd8:2c2fe44]
- Files:
-
- 2 deleted
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified src/aubio.h ¶
r4084cd8 r2c2fe44 185 185 #include "io/source.h" 186 186 #include "io/sink.h" 187 #include "io/audio_unit.h"188 187 #include "synth/sampler.h" 189 188 -
TabularUnified src/wscript_build ¶
r4084cd8 r2c2fe44 12 12 # build libaubio 13 13 from waflib import Options 14 if Options.platform == 'ios': 15 build_lib_func = ctx.stlib 16 else: 17 build_lib_func = ctx.shlib 18 14 if Options.platform == 'ios': build_lib_func = ctx.stlib 15 else: build_lib_func = ctx.shlib 19 16 build_lib_func( 20 17 includes = ['.'], … … 28 25 # install headers, except _priv.h ones 29 26 ctx.install_files('${PREFIX}/include/aubio/', 27 30 28 ctx.path.ant_glob('**/*.h', excl = ['**_priv.h', 'config.h']), 31 29 relative_trick=True) -
TabularUnified wscript ¶
r4084cd8 r2c2fe44 73 73 ctx.define('HAVE_ACCELERATE', 1) 74 74 75 if Options.platform in [ 'ios', 'iosimulator' ]:75 if Options.platform == 'ios': 76 76 ctx.env.CC = 'clang' 77 77 ctx.env.LD = 'clang' 78 78 ctx.env.LINK_CC = 'clang' 79 SDKVER="7.0" 80 DEVROOT="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer" 81 SDKROOT="%(DEVROOT)s/SDKs/iPhoneOS%(SDKVER)s.sdk" % locals() 82 ctx.env.FRAMEWORK = ['CoreFoundation', 'AudioToolbox', 'Accelerate'] 79 83 ctx.define('HAVE_ACCELERATE', 1) 80 ctx.define('TARGET_OS_IPHONE', 1) 81 ctx.env.FRAMEWORK = ['CoreFoundation', 'AudioToolbox', 'Accelerate'] 82 SDKVER="7.0" 83 MINSDKVER="6.1" 84 if Options.platform == 'ios': 85 DEVROOT="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer" 86 SDKROOT="%(DEVROOT)s/SDKs/iPhoneOS%(SDKVER)s.sdk" % locals() 87 ctx.env.CFLAGS += [ '-arch', 'armv7' ] 88 ctx.env.CFLAGS += [ '-arch', 'armv7s' ] 89 ctx.env.LINKFLAGS += ['-arch', 'armv7'] 90 ctx.env.LINKFLAGS += ['-arch', 'armv7s'] 91 else: 92 DEVROOT="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer" 93 SDKROOT="%(DEVROOT)s/SDKs/iPhoneSimulator%(SDKVER)s.sdk" % locals() 94 ctx.env.CFLAGS += [ '-arch', 'i386' ] 95 ctx.env.LINKFLAGS += ['-arch', 'i386'] 96 ctx.env.CFLAGS += [ '-arch', 'x86_64' ] 97 ctx.env.LINKFLAGS += ['-arch', 'x86_64'] 98 ctx.env.CFLAGS += [ '-miphoneos-version-min=' + MINSDKVER ] 99 ctx.env.CFLAGS += [ '--sysroot=%s' % SDKROOT] 100 ctx.env.CFLAGS += ['-std=c99'] 101 ctx.env.LINKFLAGS += ['-std=c99'] 102 ctx.env.LINKFLAGS += ['--sysroot=%s' % SDKROOT] 84 ctx.env.CFLAGS += [ '-miphoneos-version-min=6.1', '-arch', 'armv7', 85 '--sysroot=%s' % SDKROOT] 86 ctx.env.LINKFLAGS += ['-std=c99', '-arch', 'armv7', '--sysroot=%s' % 87 SDKROOT] 103 88 104 89 # check for required headers … … 193 178 bld.recurse('src') 194 179 from waflib import Options 195 if Options.platform not in ['ios', 'iosimulator']:180 if Options.platform != 'ios': 196 181 bld.recurse('examples') 197 182 bld.recurse('tests') … … 227 212 def shutdown(bld): 228 213 from waflib import Options, Logs 229 if Options.platform in ['ios', 'iosimulator']:214 if Options.platform == 'ios': 230 215 msg ='aubio built for ios, contact the author for a commercial license' 231 216 Logs.pprint('RED', msg)
Note: See TracChangeset
for help on using the changeset viewer.