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.

CMakeLists.txt 1.1KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. #Defaults:
  2. # - Wave Output (enabled with the record function)
  3. # - Null Output
  4. # - Null Output Running by default
  5. # - Managed with OutMgr
  6. set(zynaddsubfx_nio_SRCS
  7. WavEngine.cpp
  8. NulEngine.cpp
  9. AudioOut.cpp
  10. MidiIn.cpp
  11. OutMgr.cpp
  12. InMgr.cpp
  13. Engine.cpp
  14. EngineMgr.cpp
  15. Nio.cpp
  16. )
  17. set(zynaddsubfx_nio_lib )
  18. add_definitions(-DOUT_DEFAULT="${DefaultOutput}")
  19. add_definitions(-DIN_DEFAULT="${DefaultInput}")
  20. if(JackEnable)
  21. include_directories(${JACK_INCLUDE_DIR})
  22. list(APPEND zynaddsubfx_nio_SRCS JackEngine.cpp)
  23. list(APPEND zynaddsubfx_nio_lib ${JACK_LIBRARIES})
  24. endif(JackEnable)
  25. if(PaEnable)
  26. include_directories(${PORTAUDIO_INCLUDE_DIR})
  27. list(APPEND zynaddsubfx_nio_SRCS PaEngine.cpp)
  28. list(APPEND zynaddsubfx_nio_lib ${PORTAUDIO_LIBRARIES})
  29. endif(PaEnable)
  30. if(AlsaEnable)
  31. list(APPEND zynaddsubfx_nio_SRCS AlsaEngine.cpp)
  32. list(APPEND zynaddsubfx_nio_lib ${ASOUND_LIBRARY})
  33. endif(AlsaEnable)
  34. if(OssEnable)
  35. list(APPEND zynaddsubfx_nio_SRCS OssEngine.cpp)
  36. endif(OssEnable)
  37. add_library(zynaddsubfx_nio STATIC
  38. ${zynaddsubfx_nio_SRCS}
  39. )