editor.pro 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. #-------------------------------------------------
  2. # http://github.com/qtau-devgroup/editor
  3. #-------------------------------------------------
  4. QT += core widgets network
  5. TARGET = QTau
  6. TEMPLATE = app
  7. INCLUDEPATH += ../tools
  8. PKGCONFIG += glib-2.0
  9. LIBS += -lsmf -lsinsy -lsndfile
  10. CONFIG += link_pkgconfig
  11. SOURCES += \
  12. main.cpp \
  13. mainwindow.cpp \
  14. Session.cpp \
  15. Controller.cpp \
  16. ui/piano.cpp \
  17. ui/noteEditor.cpp \
  18. ui/dynDrawer.cpp \
  19. ui/meter.cpp \
  20. Utils.cpp \
  21. ui/noteEditorHandlers.cpp \
  22. ui/tempodialog.cpp \
  23. audio/jackaudio.cpp \
  24. audio/audioengine.cpp \
  25. audio/outputbuffer.cpp \
  26. sinsyscoreconverter.cpp \
  27. midifile.cpp \
  28. tempomap.cpp \
  29. ustfile.cpp
  30. HEADERS += \
  31. mainwindow.h \
  32. PluginInterfaces.h \
  33. Events.h \
  34. NoteEvents.h \
  35. Controller.h \
  36. Session.h \
  37. ui/piano.h \
  38. ui/noteEditor.h \
  39. ui/dynDrawer.h \
  40. ui/meter.h \
  41. ui/Config.h \
  42. Utils.h \
  43. ui/noteEditorHandlers.h \
  44. ui/tempodialog.h \
  45. audio/jackaudio.h \
  46. audio/audioengine.h \
  47. audio/outputbuffer.h \
  48. sinsyscoreconverter.h \
  49. midifile.h \
  50. tempomap.h \
  51. ustfile.h
  52. #../audio/jackconnector.h \
  53. FORMS += ui/mainwindow.ui \
  54. ui/tempodialog.ui
  55. RESOURCES += res/qtau.qrc
  56. windows:RC_FILE = res/qtau_win.rc
  57. QMAKE_CXXFLAGS += -Wall -std=c++11
  58. #--------------------------------------------
  59. CONFIG(debug, debug|release) {
  60. DESTDIR = $${OUT_PWD}/../debug
  61. LIBS += -Wl,--no-undefined
  62. } else {
  63. DESTDIR = $${OUT_PWD}/../release
  64. }
  65. OBJECTS_DIR = $${DESTDIR}/editor/.obj
  66. MOC_DIR = $${DESTDIR}/editor/.moc
  67. RCC_DIR = $${DESTDIR}/editor/.rcc
  68. UI_DIR = $${DESTDIR}/editor/.ui
  69. #--------------------------------------------
  70. INCLUDEPATH += ../tools/libogg-1.3.1/include ../tools/flac-1.3.0/include ../tools/flac-1.3.0/src/libFLAC/include
  71. DEFINES += HAVE_CONFIG_H
  72. QMAKE_CFLAGS += -std=c99
  73. LIBS += -ljack
  74. unix {
  75. target.path = $${PREFIX}/bin
  76. INSTALLS += target
  77. }