| 278 | |
| 279 | |
| 280 | int main(int argc, char** argv) |
| 281 | { |
| 282 | auto moduleManager = skr_get_module_manager(); |
| 283 | std::error_code ec = {}; |
| 284 | auto root = skr::filesystem::current_path(ec); |
| 285 | moduleManager->mount(root.u8string().c_str()); |
| 286 | moduleManager->make_module_graph(u8"SkrAssetImport", true); |
| 287 | auto result = moduleManager->init_module_graph(argc, argv); |
| 288 | if (result != 0) { |
| 289 | SKR_LOG_ERROR(u8"module graph init failed!"); |
| 290 | } |
| 291 | moduleManager->destroy_module_graph(); |
| 292 | return 0; |
| 293 | } |
nothing calls this directly
no test coverage detected