Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include "Application/Application.h"
- int main()
- {
- Application app;
- #ifndef NDEBUG
- spdlog::set_level(spdlog::level::debug);
- #endif
- try
- {
- app.init();
- app.run();
- }
- catch (const std::exception& e)
- {
- spdlog::critical(e.what());
- system("PAUSE");
- return EXIT_FAILURE;
- }
- system("PAUSE");
- return EXIT_SUCCESS;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement