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.

187 lines
4.4KB

  1. # QtCreator project file
  2. QT = core gui xml
  3. TARGET = carla-bridge-qtcreator
  4. TEMPLATE = app
  5. # -------------------------------------------------------
  6. CONFIG = debug
  7. CONFIG += link_pkgconfig qt warn_on
  8. DEFINES = DEBUG
  9. DEFINES += HAVE_CPP11_SUPPORT
  10. DEFINES += QTCREATOR_TEST
  11. DEFINES += BUILD_BRIDGE
  12. DEFINES += BUILD_BRIDGE_PLUGIN
  13. # Shared
  14. DEFINES += WANT_NATIVE
  15. DEFINES += WANT_LADSPA
  16. DEFINES += WANT_DSSI
  17. DEFINES += WANT_LV2
  18. DEFINES += WANT_VST
  19. #DEFINES += WANT_PLUGIN
  20. #DEFINES += WANT_RTAUDIO
  21. DEFINES += WANT_FLUIDSYNTH
  22. DEFINES += WANT_LINUXSAMPLER
  23. DEFINES += WANT_OPENGL
  24. DEFINES += WANT_AUDIOFILE
  25. DEFINES += WANT_MIDIFILE
  26. DEFINES += WANT_ZYNADDSUBFX
  27. DEFINES += WANT_ZYNADDSUBFX_UI
  28. # Engine
  29. PKGCONFIG = liblo
  30. # RtAudio
  31. DEFINES += HAVE_GETTIMEOFDAY
  32. DEFINES += __RTAUDIO_DEBUG__ __RTMIDI_DEBUG__
  33. # ALSA
  34. DEFINES += __LINUX_ALSA__ __LINUX_ALSASEQ__
  35. PKGCONFIG += alsa
  36. # JACK
  37. DEFINES += __UNIX_JACK__
  38. # PulseAudio
  39. DEFINES += __LINUX_PULSE__
  40. PKGCONFIG += libpulse-simple
  41. # DISTRHO Plugin
  42. DEFINES += DISTRHO_PLUGIN_TARGET_DSSI
  43. # FluidSynth
  44. PKGCONFIG += fluidsynth
  45. # LinuxSampler
  46. PKGCONFIG += linuxsampler
  47. # AudioFile
  48. DEFINES += HAVE_FFMPEG
  49. PKGCONFIG += libavcodec libavformat libavutil sndfile
  50. # MidiFile
  51. PKGCONFIG += smf
  52. # OpenGL
  53. PKGCONFIG += gl
  54. # ZynAddSubFX
  55. PKGCONFIG += fftw3 mxml zlib ntk ntk_images
  56. # -----------------------------------------------------------
  57. SOURCES = \
  58. ../CarlaBridgeClient.cpp \
  59. ../CarlaBridgeOsc.cpp \
  60. ../CarlaBridgePlugin.cpp
  61. HEADERS = \
  62. ../CarlaBridge.hpp \
  63. ../CarlaBridgeClient.hpp \
  64. ../CarlaBridgeOsc.hpp
  65. # -----------------------------------------------------------
  66. # Engine
  67. SOURCES += \
  68. ../../backend/engine/CarlaEngine.cpp \
  69. ../../backend/engine/CarlaEngineOsc.cpp \
  70. ../../backend/engine/CarlaEngineThread.cpp \
  71. ../../backend/engine/CarlaEngineBridge.cpp \
  72. ../../backend/engine/CarlaEngineJack.cpp \
  73. ../../backend/engine/CarlaEnginePlugin.cpp \
  74. ../../backend/engine/CarlaEngineRtAudio.cpp
  75. # Plugin
  76. SOURCES += \
  77. ../../backend/plugin/CarlaPlugin.cpp \
  78. ../../backend/plugin/CarlaPluginGui.cpp \
  79. ../../backend/plugin/CarlaPluginThread.cpp \
  80. ../../backend/plugin/BridgePlugin.cpp \
  81. ../../backend/plugin/NativePlugin.cpp \
  82. ../../backend/plugin/LadspaPlugin.cpp \
  83. ../../backend/plugin/DssiPlugin.cpp \
  84. ../../backend/plugin/Lv2Plugin.cpp \
  85. ../../backend/plugin/VstPlugin.cpp \
  86. ../../backend/plugin/Vst3Plugin.cpp \
  87. ../../backend/plugin/FluidSynthPlugin.cpp \
  88. ../../backend/plugin/LinuxSamplerPlugin.cpp
  89. # Standalone
  90. SOURCES += \
  91. ../../backend/standalone/CarlaStandalone.cpp
  92. # -----------------------------------------------------------
  93. # common
  94. HEADERS += \
  95. ../../backend/CarlaBackend.hpp \
  96. ../../backend/CarlaEngine.hpp \
  97. ../../backend/CarlaNative.h \
  98. ../../backend/CarlaNative.hpp \
  99. ../../backend/CarlaPlugin.hpp \
  100. ../../backend/CarlaStandalone.hpp
  101. # engine
  102. HEADERS += \
  103. ../../backend/engine/CarlaEngineInternal.hpp \
  104. ../../backend/engine/CarlaEngineOsc.hpp \
  105. ../../backend/engine/CarlaEngineThread.hpp \
  106. ../../backend/engine/distrho/DistrhoPluginInfo.h
  107. # plugin
  108. HEADERS += \
  109. ../../backend/plugin/CarlaPluginInternal.hpp \
  110. ../../backend/plugin/CarlaPluginThread.hpp
  111. # includes
  112. HEADERS += \
  113. ../../includes/CarlaDefines.hpp \
  114. ../../includes/CarlaMIDI.h \
  115. ../../includes/ladspa_rdf.hpp \
  116. ../../includes/lv2_rdf.hpp
  117. # utils
  118. HEADERS += \
  119. ../../utils/CarlaBackendUtils.hpp \
  120. ../../utils/CarlaBridgeUtils.hpp \
  121. ../../utils/CarlaJuceUtils.hpp \
  122. ../../utils/CarlaLadspaUtils.hpp \
  123. ../../utils/CarlaLibUtils.hpp \
  124. ../../utils/CarlaLv2Utils.hpp \
  125. ../../utils/CarlaOscUtils.hpp \
  126. ../../utils/CarlaShmUtils.hpp \
  127. ../../utils/CarlaStateUtils.hpp \
  128. ../../utils/CarlaVstUtils.hpp \
  129. ../../utils/CarlaUtils.hpp \
  130. ../../utils/CarlaMutex.hpp \
  131. ../../utils/CarlaString.hpp \
  132. ../../utils/Lv2AtomQueue.hpp \
  133. ../../utils/RtList.hpp
  134. INCLUDEPATH = .. \
  135. ../../backend \
  136. ../../backend/engine \
  137. ../../backend/plugin \
  138. ../../backend/utils \
  139. ../../includes \
  140. ../../libs \
  141. ../../utils
  142. # -----------------------------------------------------------
  143. LIBS = -ldl
  144. LIBS += ../../backend/libcarla_native.a
  145. LIBS += ../../libs/dgl.a
  146. LIBS += ../../libs/lilv.a
  147. LIBS += ../../libs/rtmempool.a
  148. LIBS += ../../libs/theme.a
  149. LIBS += ../../libs/widgets.a
  150. QMAKE_CXXFLAGS *= -std=gnu++0x