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 999B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. set(UI_fl_files
  2. ADnoteUI.fl
  3. BankUI.fl
  4. ConfigUI.fl
  5. EffUI.fl
  6. EnvelopeUI.fl
  7. FilterUI.fl
  8. LFOUI.fl
  9. MasterUI.fl
  10. MicrotonalUI.fl
  11. OscilGenUI.fl
  12. PADnoteUI.fl
  13. PartUI.fl
  14. PresetsUI.fl
  15. ResonanceUI.fl
  16. SUBnoteUI.fl
  17. VirKeyboard.fl
  18. )
  19. include_directories(${CMAKE_CURRENT_BINARY_DIR})
  20. set_source_files_properties(UI/MasterUI.h PROPERTIES GENERATED 1)
  21. fltk_wrap_ui(zynaddsubfx_gui ${UI_fl_files})
  22. add_definitions(-DPIXMAP_PATH="${CMAKE_INSTALL_PREFIX}/share/zynaddsubfx/pixmaps/")
  23. add_definitions(-DSOURCE_DIR="${CMAKE_CURRENT_SOURCE_DIR}")
  24. if(LibloEnable)
  25. set(zynaddsubfx_gui_FLTK_UI_SRCS ${zynaddsubfx_gui_FLTK_UI_SRCS} NSM.C NSM/Client.C)
  26. endif()
  27. add_library(zynaddsubfx_gui STATIC
  28. ${UI_objs}
  29. ${zynaddsubfx_gui_FLTK_UI_SRCS}
  30. NioUI.cpp
  31. WidgetPDial.cpp
  32. )
  33. if(NtkGui)
  34. target_link_libraries(zynaddsubfx_gui ${NTK_LIBRARIES})
  35. endif(NtkGui)
  36. if(FltkGui)
  37. target_link_libraries(zynaddsubfx_gui ${FLTK_LIBRARIES})
  38. endif(FltkGui)