#---------------------------------------------------------------- # Sources #---------------------------------------------------------------- set(animation_sources main.cpp plot.cpp plot.h ) #---------------------------------------------------------------- # Target #---------------------------------------------------------------- add_executable(qwt_example_animation ${animation_sources}) target_link_libraries(qwt_example_animation PRIVATE Qt5::OpenGL qwt ) #---------------------------------------------------------------- # Deploy #---------------------------------------------------------------- add_custom_command( TARGET qwt_example_animation POST_BUILD COMMAND ${CMAKE_COMMAND} -E copy_if_different $ $ COMMAND ${CMAKE_COMMAND} -E copy_if_different $ $ COMMAND ${CMAKE_COMMAND} -E copy_if_different $ $ COMMAND ${CMAKE_COMMAND} -E copy_if_different $ $ COMMAND ${CMAKE_COMMAND} -E copy_if_different $ $ COMMAND ${CMAKE_COMMAND} -E copy_if_different $ $ COMMAND ${CMAKE_COMMAND} -E copy_if_different $ $ )