editor.pro 2.3 KB

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