stuff-from-scratch/apps/main.cpp
2022-12-02 11:50:15 +00:00

16 lines
405 B
C++

#include "CommandLineArgs.h"
#include "MainApplication.h"
int main(int argc, char *argv[])
{
auto command_line_args = CommandLineArgs::Create();
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();
return 0;
}