projects
/
aubio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
dd93e80
)
wscript: verbose frameworks, default to no atlas check
author
Paul Brossier
<piem@piem.org>
Sat, 10 Dec 2016 23:57:02 +0000
(
00:57
+0100)
committer
Paul Brossier
<piem@piem.org>
Sat, 10 Dec 2016 23:57:02 +0000
(
00:57
+0100)
wscript
patch
|
blob
|
history
diff --git
a/wscript
b/wscript
index
9af643f
..
5e2ea5f
100644
(file)
--- a/
wscript
+++ b/
wscript
@@
-83,8
+83,8
@@
def options(ctx):
add_option_enable_disable(ctx, 'apple-audio', default = None,
help_str = 'use CoreFoundation (darwin only) (auto)',
help_disable_str = 'do not use CoreFoundation framework')
add_option_enable_disable(ctx, 'apple-audio', default = None,
help_str = 'use CoreFoundation (darwin only) (auto)',
help_disable_str = 'do not use CoreFoundation framework')
- add_option_enable_disable(ctx, 'atlas', default =
Non
e,
- help_str = 'use Atlas library (
aut
o)',
+ add_option_enable_disable(ctx, 'atlas', default =
Fals
e,
+ help_str = 'use Atlas library (
n
o)',
help_disable_str = 'do not use Atlas library')
add_option_enable_disable(ctx, 'wavread', default = True,
help_str = 'compile with source_wavread (default)',
help_disable_str = 'do not use Atlas library')
add_option_enable_disable(ctx, 'wavread', default = True,
help_str = 'compile with source_wavread (default)',
@@
-151,9
+151,15
@@
def configure(ctx):
ctx.env.FRAMEWORK += ['CoreFoundation', 'AudioToolbox']
ctx.define('HAVE_SOURCE_APPLE_AUDIO', 1)
ctx.define('HAVE_SINK_APPLE_AUDIO', 1)
ctx.env.FRAMEWORK += ['CoreFoundation', 'AudioToolbox']
ctx.define('HAVE_SOURCE_APPLE_AUDIO', 1)
ctx.define('HAVE_SINK_APPLE_AUDIO', 1)
+ ctx.msg('Checking for AudioToolbox.framework', 'yes')
+ else:
+ ctx.msg('Checking for AudioToolbox.framework', 'no (disabled)', color = 'YELLOW')
if (ctx.options.enable_accelerate != False):
ctx.define('HAVE_ACCELERATE', 1)
ctx.env.FRAMEWORK += ['Accelerate']
if (ctx.options.enable_accelerate != False):
ctx.define('HAVE_ACCELERATE', 1)
ctx.env.FRAMEWORK += ['Accelerate']
+ ctx.msg('Checking for Accelerate framework', 'yes')
+ else:
+ ctx.msg('Checking for AudioToolbox framework', 'no (disabled)', color = 'YELLOW')
if target_platform in [ 'ios', 'iosimulator' ]:
MINSDKVER="6.1"
if target_platform in [ 'ios', 'iosimulator' ]:
MINSDKVER="6.1"