| 6 | #include "SkrProfile/profile.h" |
| 7 | |
| 8 | int main(int argc, char** argv) |
| 9 | { |
| 10 | SkrZoneScopedN("Main"); |
| 11 | |
| 12 | auto moduleManager = skr_get_module_manager(); |
| 13 | std::error_code ec = {}; |
| 14 | auto root = skr::filesystem::current_path(ec); |
| 15 | moduleManager->mount(root.u8string().c_str()); |
| 16 | moduleManager->make_module_graph(u8"Game", true); |
| 17 | auto result = moduleManager->init_module_graph(argc, argv); |
| 18 | if (result != 0) { |
| 19 | SKR_LOG_ERROR(u8"module graph init failed!"); |
| 20 | } |
| 21 | moduleManager->destroy_module_graph(); |
| 22 | return 0; |
| 23 | } |
nothing calls this directly
no test coverage detected