Cross-Platform build scripts for audio plugins
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.

42 lines
1.1KB

  1. #!/bin/bash
  2. set -e
  3. cd $(dirname ${0})
  4. PAWPAW_ROOT="${PWD}"
  5. # ---------------------------------------------------------------------------------------------------------------------
  6. # check target
  7. target="${1}"
  8. if [ -z "${target}" ]; then
  9. echo "usage: ${0} <target>"
  10. exit 1
  11. fi
  12. # ---------------------------------------------------------------------------------------------------------------------
  13. # LTO is unwanted for Cardinal builds, make sure it is off
  14. export PAWPAW_SKIP_LTO=1
  15. # ---------------------------------------------------------------------------------------------------------------------
  16. # run bootstrap dependencies
  17. export PAWPAW_FAST_MATH=1
  18. export PAWPAW_SKIP_GLIB=1
  19. export PAWPAW_SKIP_LV2=1
  20. export PAWPAW_SKIP_OPENSSL=1
  21. export PAWPAW_SKIP_SAMPLERATE=1
  22. # we just build the whole thing on Windows
  23. if [ "${target}" != "win32" ] && [ "${target}" != "win64" ]; then
  24. export PAWPAW_SKIP_QT=1
  25. fi
  26. ./bootstrap-common.sh "${target}"
  27. ./bootstrap-plugins.sh "${target}"
  28. ./bootstrap-carla.sh "${target}"
  29. # ---------------------------------------------------------------------------------------------------------------------