26 lines
539 B
C++
26 lines
539 B
C++
#pragma once
|
|
#include <string>
|
|
#include <cstdint>
|
|
|
|
namespace Cli {
|
|
|
|
struct Args {
|
|
bool skipSyscallCheck = false;
|
|
bool toIntel = false;
|
|
bool writeRegistry = false;
|
|
bool toWindows = false;
|
|
bool lazyBinding = false;
|
|
bool autorun = false;
|
|
bool windowsDiagnostics = false;
|
|
std::uint32_t unusedFilterLevel = 2;
|
|
std::string inputPath;
|
|
std::string outputPath;
|
|
std::string runPath = "$ORIGIN/libs";
|
|
};
|
|
|
|
Args ParseArgs(int argc, char* argv[]);
|
|
|
|
int Autorun(const std::string& absPath, bool toWindows);
|
|
|
|
}
|