#---------------------------------------------------------------- # Sources #---------------------------------------------------------------- set(simpleplot_sources simpleplot.cpp ) #---------------------------------------------------------------- # Target #---------------------------------------------------------------- add_executable(qwt_example_simpleplot ${simpleplot_sources}) target_link_libraries(qwt_example_simpleplot PRIVATE qwt ) #---------------------------------------------------------------- # Deploy #---------------------------------------------------------------- add_custom_command( TARGET qwt_example_simpleplot 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 $ $ )