diffu/include/config.hpp

20 lines
465 B
C++
Raw Normal View History

2024-07-15 10:47:44 +00:00
#include <CLI/App.hpp>
#include <CLI/CLI.hpp>
#include <CLI/Validators.hpp>
#include <filesystem>
#include <vector>
struct Config {
std::filesystem::path memory_file;
std::vector<std::filesystem::path> refs;
std::vector<std::string> refs_prefix;
2024-07-15 10:47:44 +00:00
std::filesystem::path dut;
std::string dut_prefix = "";
2024-07-22 08:20:19 +00:00
std::string gdbstub_addr = "/tmp/gdbstub-diffu.sock";
bool use_debugger = false;
2024-07-15 10:47:44 +00:00
int cli_parse(int argc, char **argv);
};
extern Config config;