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