CMakeLists.txt 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  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_editor.cpp
  23. widgets/point_editor.h
  24. widgets/editor_factory.cpp
  25. generic/node_editor.cpp
  26. generic/node_editor.h
  27. generic/custom_widgets.cpp
  28. generic/custom_widgets.h
  29. generic/context_listener.cpp
  30. generic/context_listener.h
  31. models/node_model.cpp
  32. models/node_model.h
  33. resources.qrc
  34. )
  35. target_link_libraries(rainynite-studio geom_helpers)
  36. target_link_libraries(rainynite-studio
  37. Qt5::Widgets
  38. document
  39. filters
  40. renderers
  41. fmt
  42. Threads::Threads
  43. ${SIGCPP_LIBRARIES}
  44. )
  45. target_include_directories(rainynite-studio
  46. SYSTEM BEFORE PUBLIC
  47. ${SIGCPP_INCLUDE_DIRS}
  48. )
  49. configure_file(version.h.cmake.in version.h)