ui-elements.cmake 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. if(NOT TARGET OBS::properties-view)
  2. add_subdirectory("${CMAKE_SOURCE_DIR}/shared/properties-view" "${CMAKE_BINARY_DIR}/shared/properties-view")
  3. endif()
  4. if(NOT TARGET OBS::qt-plain-text-edit)
  5. add_subdirectory("${CMAKE_SOURCE_DIR}/shared/qt/plain-text-edit" "${CMAKE_BINARY_DIR}/shared/qt/plain-text-edit")
  6. endif()
  7. if(NOT TARGET OBS::qt-slider-ignorewheel)
  8. add_subdirectory(
  9. "${CMAKE_SOURCE_DIR}/shared/qt/slider-ignorewheel"
  10. "${CMAKE_BINARY_DIR}/shared/qt/slider-ignorewheel"
  11. )
  12. endif()
  13. if(NOT TARGET OBS::qt-vertical-scroll-area)
  14. add_subdirectory(
  15. "${CMAKE_SOURCE_DIR}/shared/qt/vertical-scroll-area"
  16. "${CMAKE_BINARY_DIR}/shared/qt/vertical-scroll-area"
  17. )
  18. endif()
  19. target_link_libraries(
  20. obs-studio
  21. PRIVATE OBS::properties-view OBS::qt-plain-text-edit OBS::qt-slider-ignorewheel OBS::qt-vertical-scroll-area
  22. )
  23. target_sources(
  24. obs-studio
  25. PRIVATE
  26. absolute-slider.cpp
  27. absolute-slider.hpp
  28. adv-audio-control.cpp
  29. adv-audio-control.hpp
  30. audio-encoders.cpp
  31. audio-encoders.hpp
  32. balance-slider.hpp
  33. basic-controls.cpp
  34. basic-controls.hpp
  35. clickable-label.hpp
  36. context-bar-controls.cpp
  37. context-bar-controls.hpp
  38. focus-list.cpp
  39. focus-list.hpp
  40. horizontal-scroll-area.cpp
  41. horizontal-scroll-area.hpp
  42. hotkey-edit.cpp
  43. hotkey-edit.hpp
  44. item-widget-helpers.cpp
  45. item-widget-helpers.hpp
  46. lineedit-autoresize.cpp
  47. lineedit-autoresize.hpp
  48. log-viewer.cpp
  49. log-viewer.hpp
  50. media-controls.cpp
  51. media-controls.hpp
  52. menu-button.cpp
  53. menu-button.hpp
  54. mute-checkbox.hpp
  55. noncheckable-button.hpp
  56. remote-text.cpp
  57. remote-text.hpp
  58. scene-tree.cpp
  59. scene-tree.hpp
  60. screenshot-obj.hpp
  61. source-label.cpp
  62. source-label.hpp
  63. source-tree.cpp
  64. source-tree.hpp
  65. undo-stack-obs.cpp
  66. undo-stack-obs.hpp
  67. url-push-button.cpp
  68. url-push-button.hpp
  69. visibility-item-widget.cpp
  70. visibility-item-widget.hpp
  71. volume-control.cpp
  72. volume-control.hpp
  73. )