editor.pro 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  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. score.cpp
  31. HEADERS += \
  32. mainwindow.h \
  33. PluginInterfaces.h \
  34. Events.h \
  35. NoteEvents.h \
  36. Controller.h \
  37. Session.h \
  38. ui/piano.h \
  39. ui/noteEditor.h \
  40. ui/dynDrawer.h \
  41. ui/meter.h \
  42. ui/Config.h \
  43. Utils.h \
  44. ui/noteEditorHandlers.h \
  45. ui/tempodialog.h \
  46. audio/jackaudio.h \
  47. audio/audioengine.h \
  48. audio/outputbuffer.h \
  49. sinsyscoreconverter.h \
  50. midifile.h \
  51. tempomap.h \
  52. ustfile.h \
  53. score.h
  54. #../audio/jackconnector.h \
  55. FORMS += ui/mainwindow.ui \
  56. ui/tempodialog.ui
  57. RESOURCES += res/qtau.qrc
  58. windows:RC_FILE = res/qtau_win.rc
  59. QMAKE_CXXFLAGS += -Wall -std=c++11
  60. #--------------------------------------------
  61. CONFIG(debug, debug|release) {
  62. DESTDIR = $${OUT_PWD}/../debug
  63. LIBS += -Wl,--no-undefined
  64. } else {
  65. DESTDIR = $${OUT_PWD}/../release
  66. }
  67. OBJECTS_DIR = $${DESTDIR}/editor/.obj
  68. MOC_DIR = $${DESTDIR}/editor/.moc
  69. RCC_DIR = $${DESTDIR}/editor/.rcc
  70. UI_DIR = $${DESTDIR}/editor/.ui
  71. #--------------------------------------------
  72. INCLUDEPATH += ../tools/libogg-1.3.1/include ../tools/flac-1.3.0/include ../tools/flac-1.3.0/src/libFLAC/include
  73. DEFINES += HAVE_CONFIG_H
  74. QMAKE_CFLAGS += -std=c99
  75. LIBS += -ljack
  76. unix {
  77. target.path = $${PREFIX}/bin
  78. INSTALLS += target
  79. }