From d866d67a973264a50ffc3cf3342823889b0c48ae Mon Sep 17 00:00:00 2001 From: Jorijn van der Graaf Date: Sun, 1 Mar 2026 15:52:13 +0100 Subject: [PATCH] windows build fixes --- implementations/main.cpp | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/implementations/main.cpp b/implementations/main.cpp index 314e14f..9d53ad5 100644 --- a/implementations/main.cpp +++ b/implementations/main.cpp @@ -69,7 +69,14 @@ int main(int argc, char* argv[]) { Project project(std::move(projectPath)); if(command == "build") { - std::tuple config = project.Build(argument); + std::tuple config; + + try { + config = project.Build(argument); + } catch(std::exception& e) { + std::cout << e.what() << std::endl; + } + if(std::get<1>(config).errors.empty()) { if(run){ std::string binDir = std::format("{}/{}", project.binDir.string(), std::get<0>(config).name);