Stefan Schuermans authored 4 years ago
1) add_custom_command( 2) OUTPUT 3) ${CMAKE_BINARY_DIR}/bin/upt-trace 4) DEPENDS 5) ${CMAKE_CURRENT_SOURCE_DIR}/upt-trace.bash 6) COMMAND 7) cp -a ${CMAKE_CURRENT_SOURCE_DIR}/upt-trace.bash 8) ${CMAKE_BINARY_DIR}/bin/upt-trace 9) ) 10) 11) add_custom_target( 12) upt-trace 13) ALL 14) DEPENDS 15) ${CMAKE_BINARY_DIR}/bin/upt-trace 16) )