ui-elements.cmake 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  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. preview-controls.cpp
  57. preview-controls.hpp
  58. remote-text.cpp
  59. remote-text.hpp
  60. scene-tree.cpp
  61. scene-tree.hpp
  62. screenshot-obj.hpp
  63. source-label.cpp
  64. source-label.hpp
  65. source-tree.cpp
  66. source-tree.hpp
  67. undo-stack-obs.cpp
  68. undo-stack-obs.hpp
  69. url-push-button.cpp
  70. url-push-button.hpp
  71. visibility-item-widget.cpp
  72. visibility-item-widget.hpp
  73. volume-control.cpp
  74. volume-control.hpp
  75. )