17 lines
478 B
C++
17 lines
478 B
C++
|
|
// SPDX-License-Identifier: LGPL-3.0-only
|
||
|
|
// SPDX-FileCopyrightText: Copyright (C) 2026 Catcrafts®
|
||
|
|
|
||
|
|
import std;
|
||
|
|
import Crafter.Build;
|
||
|
|
using namespace Crafter;
|
||
|
|
|
||
|
|
// Returns one configuration twice, as a pasted line does.
|
||
|
|
namespace {
|
||
|
|
std::deque<Configuration> Owned;
|
||
|
|
}
|
||
|
|
|
||
|
|
extern "C" std::vector<Configuration*> CrafterBuildConfigurations(std::span<const std::string_view>) {
|
||
|
|
Configuration& same = Owned.emplace_back();
|
||
|
|
same.name = "same";
|
||
|
|
return { &same, &same };
|
||
|
|
}
|