y-u-no-work
Matt Smith 4 years ago
parent a90ca140c0
commit 6fa0967352
Signed by: asymptotically
GPG Key ID: D0EAC8943FB1B2C1

@ -135,3 +135,9 @@ foreach(testSrc ${TEST_SRCS})
COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/build/products/${testName} --catch_system_error=yes
)
endforeach(testSrc)
add_executable(y-u-no-work
y-u-no-work.cc
${SRC_FILES})
target_link_libraries(y-u-no-work
${Boost_LIBRARIES})

@ -0,0 +1,17 @@
#include <iostream>
#include <serial_bridge_index.hpp>
using namespace serial_bridge;
int main(int argc, char **argv) {
if (argc != 2) {
std::cerr << "Usage: " << argv[0] << '\n';
return 1;
}
const std::string address{argv[1]};
const auto result = decode_address(address);
std::cout << result << '\n';
return 0;
}
Loading…
Cancel
Save