stuff-from-scratch/apps/console-main.cpp
2020-05-09 15:29:45 +01:00

18 lines
438 B
C++

#include "CommandLineArgs.h"
#include "MainApplication.h"
int main(int argc, char *argv[])
{
auto command_line_args = CommandLineArgs::CreateUnique();
command_line_args->Process(argc, argv);
command_line_args->RecordLaunchPath();
// Start the main app
auto main_app = MainApplication::Create();
main_app->Initialize(std::move(command_line_args));
main_app->Run();
main_app->ShutDown();
return 0;
}