ysyx-workbench/npc/include/config.hpp
xinyangli de9f770d08
Some checks failed
Build abstract machine with nix / build-abstract-machine (push) Failing after 53s
Run CTests within npc / npc-test (push) Failing after 48s
npc,refactor: remove original difftest wrapper, cleanup code
2024-08-02 11:18:52 +08:00

20 lines
440 B
C++

#ifndef _NPC_CONFIG_H_
#define _NPC_CONFIG_H_
#include <CLI/App.hpp>
#include <CLI/CLI.hpp>
#include <CLI/Validators.hpp>
#include <filesystem>
struct Config {
std::filesystem::path memory_file;
std::string gdbsocket = "gdbstub-npc.sock";
bool do_debug{false};
bool interactive{false};
bool memory_file_binary = {true};
std::filesystem::path wavefile;
void cli_parse(int argc, char **argv);
};
extern Config config;
#endif