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 3.3KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. set(sdk_sources
  2. source/common/pluginview.cpp
  3. source/main/pluginfactoryvst3.cpp
  4. source/vst/vstaudioeffect.cpp
  5. source/vst/vstbus.cpp
  6. source/vst/vstbypassprocessor.cpp
  7. source/vst/vstcomponent.cpp
  8. source/vst/vstcomponentbase.cpp
  9. source/vst/vsteditcontroller.cpp
  10. source/vst/vstinitiids.cpp
  11. source/vst/vstnoteexpressiontypes.cpp
  12. source/vst/vstparameters.cpp
  13. source/vst/vstpresetfile.cpp
  14. source/vst/vstrepresentation.cpp
  15. )
  16. set(pluginterfaces_sources
  17. ${SDK_ROOT}/pluginterfaces/base/falignpop.h
  18. ${SDK_ROOT}/pluginterfaces/base/falignpush.h
  19. ${SDK_ROOT}/pluginterfaces/base/fplatform.h
  20. ${SDK_ROOT}/pluginterfaces/base/fstrdefs.h
  21. ${SDK_ROOT}/pluginterfaces/base/ftypes.h
  22. ${SDK_ROOT}/pluginterfaces/base/funknown.h
  23. ${SDK_ROOT}/pluginterfaces/base/futils.h
  24. ${SDK_ROOT}/pluginterfaces/base/fvariant.h
  25. ${SDK_ROOT}/pluginterfaces/base/geoconstants.h
  26. ${SDK_ROOT}/pluginterfaces/base/ibstream.h
  27. ${SDK_ROOT}/pluginterfaces/base/icloneable.h
  28. ${SDK_ROOT}/pluginterfaces/base/ierrorcontext.h
  29. ${SDK_ROOT}/pluginterfaces/base/ipersistent.h
  30. ${SDK_ROOT}/pluginterfaces/base/ipluginbase.h
  31. ${SDK_ROOT}/pluginterfaces/base/istringresult.h
  32. ${SDK_ROOT}/pluginterfaces/base/iupdatehandler.h
  33. ${SDK_ROOT}/pluginterfaces/base/keycodes.h
  34. ${SDK_ROOT}/pluginterfaces/base/pluginbasefwd.h
  35. ${SDK_ROOT}/pluginterfaces/base/smartpointer.h
  36. ${SDK_ROOT}/pluginterfaces/base/ucolorspec.h
  37. ${SDK_ROOT}/pluginterfaces/base/conststringtable.cpp
  38. ${SDK_ROOT}/pluginterfaces/base/conststringtable.h
  39. ${SDK_ROOT}/pluginterfaces/base/funknown.cpp
  40. ${SDK_ROOT}/pluginterfaces/base/ustring.cpp
  41. ${SDK_ROOT}/pluginterfaces/base/ustring.h
  42. )
  43. set(vst_includes
  44. ${SDK_ROOT}/pluginterfaces/gui/iplugview.h
  45. ${SDK_ROOT}/pluginterfaces/gui/iplugviewcontentscalesupport.h
  46. ${SDK_ROOT}/pluginterfaces/vst/ivstattributes.h
  47. ${SDK_ROOT}/pluginterfaces/vst/ivstaudioprocessor.h
  48. ${SDK_ROOT}/pluginterfaces/vst/ivstautomationstate.h
  49. ${SDK_ROOT}/pluginterfaces/vst/ivstchannelcontextinfo.h
  50. ${SDK_ROOT}/pluginterfaces/vst/ivstcomponent.h
  51. ${SDK_ROOT}/pluginterfaces/vst/ivstcontextmenu.h
  52. ${SDK_ROOT}/pluginterfaces/vst/ivsteditcontroller.h
  53. ${SDK_ROOT}/pluginterfaces/vst/ivstevents.h
  54. ${SDK_ROOT}/pluginterfaces/vst/ivsthostapplication.h
  55. ${SDK_ROOT}/pluginterfaces/vst/ivstinterappaudio.h
  56. ${SDK_ROOT}/pluginterfaces/vst/ivstmessage.h
  57. ${SDK_ROOT}/pluginterfaces/vst/ivstmidicontrollers.h
  58. ${SDK_ROOT}/pluginterfaces/vst/ivstnoteexpression.h
  59. ${SDK_ROOT}/pluginterfaces/vst/ivstparameterchanges.h
  60. ${SDK_ROOT}/pluginterfaces/vst/ivstplugview.h
  61. ${SDK_ROOT}/pluginterfaces/vst/ivstprefetchablesupport.h
  62. ${SDK_ROOT}/pluginterfaces/vst/ivstprocesscontext.h
  63. ${SDK_ROOT}/pluginterfaces/vst/ivstrepresentation.h
  64. ${SDK_ROOT}/pluginterfaces/vst/ivstunits.h
  65. ${SDK_ROOT}/pluginterfaces/vst/vstpresetkeys.h
  66. ${SDK_ROOT}/pluginterfaces/vst/vstpshpack4.h
  67. ${SDK_ROOT}/pluginterfaces/vst/vsttypes.h
  68. )
  69. add_library(sdk STATIC ${sdk_sources} ${pluginterfaces_sources} ${vst_includes})
  70. target_link_libraries(sdk PRIVATE base)
  71. # iOS target
  72. if(MAC AND XCODE AND IOS_DEVELOPMENT_TEAM)
  73. add_library(sdk_ios STATIC ${sdk_sources} ${pluginterfaces_sources} ${vst_includes})
  74. smtg_set_platform_ios(sdk_ios)
  75. target_link_libraries(sdk_ios PRIVATE base_ios)
  76. endif()
  77. source_group("public.sdk" FILES ${sdk_sources})
  78. source_group("vst" FILES ${vst_includes})
  79. source_group("base" FILES ${pluginterfaces_sources})