From 30b3be2feba2c132ad655fdd760d5649b049408b Mon Sep 17 00:00:00 2001 From: Jorijn van der Graaf Date: Sun, 1 Mar 2026 18:29:27 +0100 Subject: [PATCH] windows build fix --- implementations/Crafter.Build-Command.cpp | 1 + implementations/Crafter.Build-Configuration.cpp | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/implementations/Crafter.Build-Command.cpp b/implementations/Crafter.Build-Command.cpp index bd41330..2543d64 100644 --- a/implementations/Crafter.Build-Command.cpp +++ b/implementations/Crafter.Build-Command.cpp @@ -109,6 +109,7 @@ namespace Crafter { throw std::runtime_error("Failed to get executable path"); } path[length] = '\0'; + std::cout << path << std::endl; return fs::path(path).parent_path().parent_path(); } diff --git a/implementations/Crafter.Build-Configuration.cpp b/implementations/Crafter.Build-Configuration.cpp index bb3d0c5..90d20ad 100644 --- a/implementations/Crafter.Build-Configuration.cpp +++ b/implementations/Crafter.Build-Configuration.cpp @@ -280,6 +280,8 @@ namespace Crafter { const fs::path cacheDir = GetPath() / "cloneCache"; + std::cout << cacheDir << std::endl; + if (!fs::exists(cacheDir)) { fs::create_directories(cacheDir); } @@ -302,6 +304,8 @@ namespace Crafter { // Update path to the project.json of the dependency path = cacheDir / depFolder / "project.json"; } + + std::cout << path << std::endl; // Create a Project object for the dependency std::unique_ptr depProject = std::make_unique(std::move(path), configName);