madde_synth.pro 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. #-------------------------------------------------
  2. #-------------------------------------------------
  3. TEMPLATE = lib
  4. CONFIG += plugin
  5. TARGET = $$qtLibraryTarget(maddesynth)
  6. QT += widgets
  7. INCLUDEPATH += ../../editor ../ ../../tools
  8. # rename sekai to eprsynth
  9. LIBS += -lsekai -ljack -lsndfile
  10. CONFIG += link_pkgconfig
  11. HEADERS += \
  12. madde_synth.h \
  13. ../../editor/Utils.h \
  14. maddewindow.h \
  15. maddefile.h \
  16. formantmapwindow.h
  17. SOURCES += \
  18. madde_synth.cpp \
  19. ../../editor/Utils.cpp \
  20. maddewindow.cpp \
  21. maddefile.cpp \
  22. formantmapwindow.cpp
  23. QMAKE_CXXFLAGS += -Wall -std=c++11
  24. #--------------------------------------------
  25. CONFIG(debug, debug|release) {
  26. COMPILEDIR = $${OUT_PWD}/../../debug
  27. LIBS += -Wl,--no-undefined
  28. } else {
  29. COMPILEDIR = $${OUT_PWD}/../../release
  30. LIBS += -Wl,--no-undefined
  31. }
  32. DESTDIR = $${COMPILEDIR}/plugins
  33. OBJECTS_DIR = $${COMPILEDIR}/maddesynth/.obj
  34. MOC_DIR = $${COMPILEDIR}/maddesynth/.moc
  35. RCC_DIR = $${COMPILEDIR}/maddesynth/.rcc
  36. UI_DIR = $${COMPILEDIR}/maddesynth/.ui
  37. #--------------------------------------------
  38. FORMS += \
  39. maddewindow.ui \
  40. formantmapwindow.ui
  41. RESOURCES += \
  42. madde.qrc
  43. unix {
  44. target.path = $${PREFIX}/lib/qtau/plugins
  45. INSTALLS += target
  46. }