Audio plugin host https://kx.studio/carla
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

96 lines
2.2KB

  1. # QtCreator project file
  2. # QT = core
  3. CONFIG = debug
  4. CONFIG += link_pkgconfig shared warn_on
  5. # qt
  6. DEFINES = DEBUG
  7. DEFINES += QTCREATOR_TEST
  8. # JACK
  9. DEFINES += CARLA_ENGINE_JACK
  10. DEFINES += __UNIX_JACK__
  11. # RtAudio/RtMidi
  12. DEFINES += CARLA_ENGINE_RTAUDIO HAVE_GETTIMEOFDAY
  13. DEFINES += __RTAUDIO_DEBUG__ __RTMIDI_DEBUG__
  14. DEFINES += __LINUX_ALSA__ __LINUX_ALSASEQ__
  15. DEFINES += __LINUX_PULSE__
  16. # DISTRHO Plugin
  17. DEFINES += CARLA_ENGINE_PLUGIN
  18. DEFINES += DISTRHO_PLUGIN_TARGET_STANDALONE
  19. # Misc
  20. DEFINES += WANT_LADSPA WANT_DSSI WANT_LV2 WANT_VST
  21. DEFINES += WANT_JACK WANT_RTAUDIO
  22. PKGCONFIG = liblo jack alsa libpulse-simple
  23. TARGET = carla_engine
  24. TEMPLATE = app
  25. VERSION = 0.5.0
  26. SOURCES = \
  27. carla_engine.cpp \
  28. carla_engine_osc.cpp \
  29. carla_engine_thread.cpp \
  30. jack.cpp \
  31. plugin.cpp \
  32. rtaudio.cpp
  33. HEADERS = \
  34. carla_engine_internal.hpp \
  35. carla_engine_osc.hpp \
  36. carla_engine_thread.hpp
  37. HEADERS += \
  38. ../carla_backend.hpp \
  39. ../carla_engine.hpp \
  40. ../carla_plugin.hpp
  41. HEADERS += \
  42. ../../includes/carla_defines.hpp \
  43. ../../includes/carla_midi.h \
  44. ../../utils/carla_utils.hpp \
  45. ../../utils/carla_backend_utils.hpp \
  46. ../../utils/carla_juce_utils.hpp \
  47. ../../utils/carla_osc_utils.hpp
  48. HEADERS += \
  49. plugin/DistrhoPluginInfo.h
  50. INCLUDEPATH = . .. \
  51. ../../includes \
  52. ../../libs \
  53. ../../utils
  54. # RtAudio/RtMidi
  55. INCLUDEPATH += rtaudio-4.0.11 rtmidi-2.0.1
  56. SOURCES += rtaudio-4.0.11/RtAudio.cpp
  57. SOURCES += rtmidi-2.0.1/RtMidi.cpp
  58. # Plugin
  59. INCLUDEPATH += plugin ../../libs/distrho-plugin-toolkit
  60. # Fake includes
  61. INCLUDEPATH += \
  62. /usr/include/qt4/ \
  63. /opt/kxstudio/include/
  64. PKGCONFIG += QtCore
  65. # System includes
  66. QMAKE_CXXFLAGS += -isystem /usr/include/qt4/
  67. QMAKE_CXXFLAGS += -isystem /opt/kxstudio/include/
  68. WARN_FLAGS = \
  69. -ansi -pedantic -pedantic-errors -Wall -Wextra -Wformat=2 -Wunused-parameter -Wuninitialized \
  70. -Wcast-qual -Wconversion -Wsign-conversion -Wlogical-op -Waggregate-return -Wno-vla \
  71. -fipa-pure-const -Wsuggest-attribute=const #pure,const,noreturn
  72. QMAKE_CFLAGS *= $${WARN_FLAGS} -std=c99 -Wc++-compat -Wunsuffixed-float-constants -Wwrite-strings
  73. QMAKE_CXXFLAGS *= $${WARN_FLAGS} -std=c++11 -Wzero-as-null-pointer-constant