projects
/
vamp-aubio-plugins.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
70577a6
)
wscript: add simple install location
author
Paul Brossier
<piem@piem.org>
Fri, 22 Jul 2016 15:12:09 +0000
(17:12 +0200)
committer
Paul Brossier
<piem@piem.org>
Fri, 22 Jul 2016 15:12:09 +0000
(17:12 +0200)
wscript
patch
|
blob
|
history
diff --git
a/wscript
b/wscript
index
99885b2
..
cb3d845
100644
(file)
--- a/
wscript
+++ b/
wscript
@@
-77,16
+77,23
@@
def build(bld):
# rename libvamp-aubio to vamp-plugin binary name
if sys.platform.startswith('linux'):
bld.env['cxxshlib_PATTERN'] = '%s.so'
# rename libvamp-aubio to vamp-plugin binary name
if sys.platform.startswith('linux'):
bld.env['cxxshlib_PATTERN'] = '%s.so'
+ install_path = '${LIBDIR}/vamp'
elif sys.platform.startswith('darwin'):
bld.env['cxxshlib_PATTERN'] = '%s.dylib'
elif sys.platform.startswith('darwin'):
bld.env['cxxshlib_PATTERN'] = '%s.dylib'
+ install_path = '/Library/Audio/Plug-Ins/Vamp'
+ elif sys.platform.startswith('win32'):
+ install_path = None
bld.program(source = plugin_sources,
includes = '.',
target = 'vamp-aubio',
name = 'vamp-aubio',
use = ['VAMP', 'AUBIO'],
bld.program(source = plugin_sources,
includes = '.',
target = 'vamp-aubio',
name = 'vamp-aubio',
use = ['VAMP', 'AUBIO'],
- features = 'cxx cxxshlib'
+ features = 'cxx cxxshlib',
+ install_path = install_path
)
)
+ bld.install_files( install_path, ['vamp-aubio.cat', 'vamp-aubio.n3'])
+
#for k in bld.env.keys():
# print ("%s : %s", k, bld.env[k] )
#for k in bld.env.keys():
# print ("%s : %s", k, bld.env[k] )