mirror of
https://git.lynn.is/Gwen/pretty-automata.git
synced 2024-05-18 15:21:07 +02:00
17 lines
340 B
C++
17 lines
340 B
C++
#include "options.h"
|
|
#include "program.h"
|
|
#include <GLFW/glfw3.h>
|
|
#include <iostream>
|
|
|
|
int main(int argc, const char **argv) {
|
|
Options options = parse_arguments(argc, argv);
|
|
try {
|
|
Program program(options);
|
|
program.run();
|
|
} catch (const std::exception &e) {
|
|
std::cout << e.what();
|
|
glfwTerminate();
|
|
return -1;
|
|
}
|
|
}
|