Mercurial > hg > vamp-aubio-plugins
annotate build_mingw32.sh @ 162:5e944736a8ed
update build scripts for mingw-w64
author | Paul Brossier <piem@piem.org> |
---|---|
date | Sun, 24 Jul 2016 21:02:05 +0200 |
parents | cd712d0d5e07 |
children | 06a5ea89982f |
rev | line source |
---|---|
piem@160 | 1 #! /bin/sh |
piem@160 | 2 |
piem@160 | 3 # cross compile vamp-aubio-plugins using mingw32 toolchain |
piem@160 | 4 |
piem@162 | 5 set -e |
piem@162 | 6 set -x |
piem@160 | 7 |
piem@162 | 8 export CFLAGS="-Os" |
piem@162 | 9 #export CC="i586-mingw32msvc-gcc" |
piem@162 | 10 #export CXX="i586-mingw32msvc-g++" |
piem@162 | 11 export CC="i686-w64-mingw32-gcc" |
piem@162 | 12 export CXX="i686-w64-mingw32-g++" |
piem@162 | 13 export WAFOPTS="--with-target-platform=win32 --disable-sndfile --disable-samplerate --disable-jack --disable-avcodec --notests" |
piem@160 | 14 |
piem@162 | 15 # get waf |
piem@162 | 16 ./scripts/get_waf.sh |
piem@160 | 17 |
piem@162 | 18 # fetch Vamp SDK |
piem@162 | 19 ./scripts/get_deps_mingw32.sh |
piem@160 | 20 |
piem@162 | 21 # fetch and build aubio |
piem@162 | 22 ./scripts/get_aubio.sh |
piem@160 | 23 |
piem@162 | 24 # configure and build plugin |
piem@162 | 25 ./waf configure |
piem@162 | 26 |
piem@162 | 27 ./waf build -v |
piem@162 | 28 |
piem@162 | 29 # system-wide installation |
piem@162 | 30 # sudo ./waf install |