2
0
mirror of https://github.com/Laupetin/OpenAssetTools.git synced 2026-01-17 05:51:49 +00:00

chore: restructure Linker and Unlinker for system testing

This commit is contained in:
Jan Laupetin
2025-12-23 12:49:22 +01:00
parent fd9c57e15a
commit a1693b2eb8
32 changed files with 1089 additions and 982 deletions

19
src/LinkerCli/main.cpp Normal file
View File

@@ -0,0 +1,19 @@
#include "Linker.h"
#include "Utils/Logging/Log.h"
int main(const int argc, const char** argv)
{
con::init();
LinkerArgs args;
auto shouldContinue = true;
if (!args.ParseArgs(argc, argv, shouldContinue))
return 1;
if (!shouldContinue)
return 0;
const auto linker = Linker::Create(std::move(args));
return linker->Start() ? 0 : 1;
}