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