// SPDX-License-Identifier: LGPL-3.0-only // SPDX-FileCopyrightText: Copyright (C) 2026 Catcrafts® import std; import Crafter.Build; using namespace Crafter; // A project that builds against lib, and so against base one ring further // out. app does not name it: the test loads it for the cases in which a // project has several configurations, where it is what a second // configuration names. extern "C" Configuration CrafterBuildProject(std::span) { Configuration cfg; cfg.path = "./"; cfg.name = "outer"; cfg.outputName = "outer"; cfg.type = ConfigurationType::LibraryStatic; // Loaded from outer/, so this resolves against it. cfg.dependencies = { LocalProject({ .projectFile = "../lib/project.cpp" }) }; return cfg; }