Bring the stripped binary files to the remote

This commit is contained in:
2019-12-09 15:58:21 -05:00
parent 9c0e3d3d76
commit c3901be7c9

View File

@@ -3,5 +3,8 @@ set(CMAKE_C_FLAGS -g)
include_directories(include)
add_executable(checkm8_remote main.c src/libusb_helpers.c src/commands.c src/exploit.c src/payload.c)
add_custom_command(TARGET checkm8_remote POST_BUILD
COMMAND ln
ARGS -s ${PROJECT_SOURCE_DIR}/checkm8_payloads/bin ${CMAKE_CURRENT_SOURCE_DIR}/bin/payloads)
target_link_libraries(checkm8_remote checkm8_libusb pthread udev)