utau_synth.pro 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. #-------------------------------------------------
  2. #-------------------------------------------------
  3. TEMPLATE = lib
  4. CONFIG += plugin
  5. TARGET = $$qtLibraryTarget(utausynth)
  6. INCLUDEPATH += ../../editor ../ ../../tools
  7. LIBS += -Wl,--no-undefined
  8. PKGCONFIG += glib-2.0
  9. LIBS += -lsekai -lworld -ljack -lsndfile
  10. CONFIG += link_pkgconfig
  11. HEADERS += \
  12. utau_synth.h \
  13. ../../tools/utauloid/oto.h \
  14. ../../editor/Utils.h \
  15. utaudb.h \
  16. otoini.h
  17. SOURCES += \
  18. utau_synth.cpp \
  19. ../../editor/Utils.cpp \
  20. utaudb.cpp \
  21. otoini.cpp
  22. QMAKE_CXXFLAGS += -Wall -std=c++11
  23. #--------------------------------------------
  24. CONFIG(debug, debug|release) {
  25. COMPILEDIR = $${OUT_PWD}/../../debug
  26. LIBS += -Wl,--no-undefined
  27. } else {
  28. COMPILEDIR = $${OUT_PWD}/../../release
  29. }
  30. DESTDIR = $${COMPILEDIR}/plugins
  31. OBJECTS_DIR = $${COMPILEDIR}/utausynth/.obj
  32. MOC_DIR = $${COMPILEDIR}/utausynth/.moc
  33. RCC_DIR = $${COMPILEDIR}/utausynth/.rcc
  34. UI_DIR = $${COMPILEDIR}/utausynth/.ui
  35. #--------------------------------------------
  36. unix {
  37. target.path = $${PREFIX}/lib/qtau/plugins
  38. INSTALLS += target
  39. }