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