CMakeLists.txt 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. add_executable(rainynite-studio main/main.cpp)
  2. target_sources(rainynite-studio
  3. PRIVATE
  4. main/main_window.cpp
  5. main/main_window.h
  6. main/about.cpp
  7. main/about.h
  8. docks/playback_dock.cpp
  9. docks/playback_dock.h
  10. docks/time_dock.cpp
  11. docks/time_dock.h
  12. docks/node_tree_dock.cpp
  13. docks/node_tree_dock.h
  14. docks/node_edit_dock.cpp
  15. docks/node_edit_dock.h
  16. widgets/canvas.cpp
  17. widgets/canvas.h
  18. widgets/timeline_view.cpp
  19. widgets/timeline_view.h
  20. widgets/color_button.cpp
  21. widgets/color_button.h
  22. widgets/point_value_editor.cpp
  23. widgets/point_value_editor.h
  24. widgets/point_editor.cpp
  25. widgets/point_editor.h
  26. widgets/bezier_editor.cpp
  27. widgets/bezier_editor.h
  28. widgets/rectangle_editor.cpp
  29. widgets/rectangle_editor.h
  30. widgets/editor_factory.cpp
  31. generic/node_editor.cpp
  32. generic/node_editor.h
  33. generic/custom_widgets.cpp
  34. generic/custom_widgets.h
  35. generic/context_listener.cpp
  36. generic/context_listener.h
  37. generic/editor_context.cpp
  38. generic/editor_context.h
  39. generic/canvas_editor.cpp
  40. generic/canvas_editor.h
  41. models/node_model.cpp
  42. models/node_model.h
  43. resources.qrc
  44. )
  45. target_link_libraries(rainynite-studio geom_helpers)
  46. target_link_libraries(rainynite-studio
  47. Qt5::Widgets
  48. time
  49. document
  50. filters
  51. renderers
  52. fmt
  53. Threads::Threads
  54. ${SIGCPP_LIBRARIES}
  55. )
  56. target_include_directories(rainynite-studio
  57. SYSTEM BEFORE PUBLIC
  58. ${SIGCPP_INCLUDE_DIRS}
  59. )
  60. configure_file(version.h.cmake.in version.h)
  61. install(
  62. TARGETS rainynite-studio
  63. RUNTIME DESTINATION bin
  64. )