// SPDX-License-Identifier: LGPL-3.0-only // SPDX-FileCopyrightText: Copyright (C) 2026 Catcrafts® import std; import Crafter.Build; using namespace Crafter; // Two configurations under one name, which a consumer cannot pick between // by it. Their output names tell the test which of them it was handed. namespace { std::deque Owned; } extern "C" std::vector CrafterBuildConfigurations(std::span) { Configuration& first = Owned.emplace_back(); first.path = "./first/"; first.name = "twin"; first.outputName = "first"; Configuration& second = Owned.emplace_back(); second.path = "./second/"; second.name = "twin"; second.outputName = "second"; return { &first, &second }; }