add_executable(enyx-flash-tester
               runner.cpp
               main.cpp)

target_link_libraries(enyx-flash-tester
    PRIVATE
        Boost::program_options
        enyx-cores
        enyx-cores-tools
        enyx-hw
        rt)

target_compile_definitions(enyx-flash-tester
    PRIVATE
        "BIN_NAME=\"$<TARGET_FILE_NAME:enyx-flash-tester>\"")

install(TARGETS
        enyx-flash-tester
    DESTINATION
        ${CMAKE_INSTALL_FULL_BINDIR})

