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