Audio plugin host https://kx.studio/carla
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
787B

  1. #!/bin/bash
  2. set -e
  3. # Preparation
  4. _FLAGS="-DFLUIDSYNTH_NOT_A_DLL -DPTW32_STATIC_LIB -Werror -DBUILDING_FOR_CI"
  5. _PREFIX=i686-w64-mingw32
  6. export AR=${_PREFIX}-ar
  7. export CC=${_PREFIX}-gcc
  8. export CXX=${_PREFIX}-g++
  9. export CFLAGS="${_FLAGS}"
  10. export CXXFLAGS="${_FLAGS}"
  11. export PATH=/opt/mingw32/${_PREFIX}/bin:/opt/mingw32/bin:${PATH}
  12. export PKG_CONFIG_PATH=/opt/mingw32/lib/pkgconfig:${PKG_CONFIG_PATH}
  13. export CROSS_COMPILING=true
  14. MAKE_ARGS="BUILDING_FOR_WINDOWS=true CROSS_COMPILING=true USING_JUCE=false USING_JUCE_AUDIO_DEVICES=false"
  15. MAKE_ARGS="${MAKE_ARGS} HAVE_FLUIDSYNTH=false HAVE_LIBLO=false HAVE_QT5=false HAVE_SNDFILE=false NEEDS_WINE=false"
  16. # Start clean
  17. make distclean >/dev/null
  18. # Print available features
  19. make ${MAKE_ARGS} features
  20. # Build native stuff
  21. make ${MAKE_ARGS}