Use wine paths by default even if non-existent
[carla.git] / .travis / script-linux.sh
blob6bc7e3bcf92cf28b15e2304b7b127eebbf536cb4
1 #!/bin/bash
3 set -e
5 # Preparation
6 _FLAGS="-Werror"
7 export CFLAGS="${_FLAGS}"
8 export CXXFLAGS="${_FLAGS}"
9 export LDFLAGS="-L/opt/kxstudio/lib"
10 export PATH=/opt/kxstudio/bin:${PATH}
11 export PKG_CONFIG_PATH=/opt/kxstudio/lib/pkgconfig:${PKG_CONFIG_PATH}
13 # Start clean
14 make distclean >/dev/null
16 # Print available features
17 make USING_JUCE=false features
19 # Build native stuff
20 make USING_JUCE=false all posix32 posix64
22 # Build wine bridges
23 make USING_JUCE=false wine32 wine64 plugin-wine
25 # Build windows binaries for bridges
26 env PATH=/opt/mingw32/bin:${PATH} make win32 USING_JUCE=false CC=i686-w64-mingw32-gcc CXX=i686-w64-mingw32-g++
27 env PATH=/opt/mingw64/bin:${PATH} make win64 USING_JUCE=false CC=x86_64-w64-mingw32-gcc CXX=x86_64-w64-mingw32-g++