diff scripts/get_aubio.sh @ 131:1b8362fd90b1

scripts/get_aubio.sh: use get_waf.sh, add windows options
author Paul Brossier <piem@piem.org>
date Fri, 22 Jul 2016 05:33:28 +0200
parents 4dd52e54ce43
children e20eb5ee1731
line wrap: on
line diff
--- a/scripts/get_aubio.sh	Fri Jul 22 05:25:33 2016 +0200
+++ b/scripts/get_aubio.sh	Fri Jul 22 05:33:28 2016 +0200
@@ -3,15 +3,17 @@
 set -e
 set -x
 
+which cl.exe && WAFOPTS='--msvc_version="msvc 12.0" --msvc_target="x86"'
+
 mkdir -p contrib
 pushd contrib
 git clone https://github.com/aubio/aubio aubio || ( pushd aubio; git pull; popd )
 
 #rm -rf aubio
 pushd aubio
-make getwaf
+./scripts/get_waf.sh
 #./waf distclean
-./waf configure --prefix=$PWD/../aubio-dist --disable-atlas
+./waf configure --prefix=$PWD/../aubio-dist --disable-atlas $WAFOPTS
 ./waf build -v
 ./waf install -v
 popd