windows build fix
Some checks failed
demo.yaml / windows build fix (push) Failing after 0s

This commit is contained in:
Jorijn van der Graaf 2026-03-02 23:46:36 +01:00
commit 515294c7e6
2 changed files with 5 additions and 0 deletions

View file

@ -313,7 +313,11 @@ namespace Crafter {
} }
} }
std::cout << "10" << std::endl;
std::string configName = it["configuration"].get<std::string>(); std::string configName = it["configuration"].get<std::string>();
std::cout << "11" << std::endl;
// Create a Project object for the dependency // Create a Project object for the dependency
std::unique_ptr<Project> depProject = std::make_unique<Project>(std::move(path), configName); std::unique_ptr<Project> depProject = std::make_unique<Project>(std::move(path), configName);

View file

@ -164,6 +164,7 @@ namespace Crafter {
} }
BuildResult Project::Build(Configuration& config, const fs::path& binDir, const fs::path& outputDir, const fs::path& buildDir, std::string outputName) const { BuildResult Project::Build(Configuration& config, const fs::path& binDir, const fs::path& outputDir, const fs::path& buildDir, std::string outputName) const {
std::cout << "9" << std::endl;
BuildResult buildResult; BuildResult buildResult;
if (!fs::exists(binDir)) { if (!fs::exists(binDir)) {
fs::create_directories(binDir); fs::create_directories(binDir);