Programmable real-time audio signal processing application
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

deploy.sh 1.9KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. #!/bin/sh
  2. # copy executable to ${m}
  3. # echo commands as they are executed
  4. set -x
  5. c=/Users/kevin/src/kc/build/osx/debug/bin/kc.app/Contents
  6. m=${c}/MacOS
  7. f=${c}/Frameworks
  8. cp lib/libcm.0.dylib ${f}
  9. cp lib/libcmpp.0.dylib ${f}
  10. cp /opt/local/lib/libfftw3f.3.dylib ${f}
  11. cp /opt/local/lib/libfftw3.3.dylib ${f}
  12. cp /opt/local/lib/libfltk.1.3.dylib ${f}
  13. cp /usr/lib/libstdc++.6.dylib ${f}
  14. cp /usr/lib/libgcc_s.1.dylib ${f}
  15. install_name_tool -id @executable_path/../Frameworks/libcm.0.dylib ${f}/libcm.0.dylib
  16. install_name_tool -id @executable_path/../Frameworks/libcmpp.0.dylib ${f}/libcmpp.0.dylib
  17. install_name_tool -id @executable_path/../Frameworks/libfftw3f.3.dylib ${f}/libfftw3f.3.dylib
  18. install_name_tool -id @executable_path/../Frameworks/libfftw3.3.dylib ${f}/libfftw3.3.dylib
  19. install_name_tool -id @executable_path/../Frameworks/libfltk.1.3.dylib ${f}/libfltk.1.3.dylib
  20. install_name_tool -id @executable_path/../Frameworks/libstdc++.6.dylib ${f}/libstdc++.6.dylib
  21. install_name_tool -id @executable_path/../Frameworks/libgcc_s.1.dylib ${f}/libgcc_s.1.dylib
  22. install_name_tool -change /opt/local/lib/libcm.0.dylib @executable_path/../Frameworks/libcm.0.dylib ${m}/kc
  23. install_name_tool -change /opt/local/lib/libcmpp.0.dylib @executable_path/../Frameworks/libcmpp.0.dylib ${m}/kc
  24. install_name_tool -change /opt/local/lib/libfftw3f.3.dylib @executable_path/../Frameworks/libfftw3f.3.dylib ${m}/kc
  25. install_name_tool -change /opt/local/lib/libfftw3.3.dylib @executable_path/../Frameworks/libfftw3.3.dylib ${m}/kc
  26. install_name_tool -change /opt/local/lib/libfltk.1.3.dylib @executable_path/../Frameworks/libfltk.1.3.dylib ${m}/kc
  27. install_name_tool -change /usr/lib/libstdc++.6.dylib @executable_path/../Frameworks/libstdc++.6.dylib ${m}/kc
  28. install_name_tool -change /usr/lib/libgcc_s.1.dylib @executable_path/../Frameworks/libgcc_s.1.dylib ${m}/kc
  29. set +x
  30. # report the library paths
  31. otool -L ${m}/kc