// SPDX-License-Identifier: LGPL-3.0-only // SPDX-FileCopyrightText: Copyright (C) 2026 Catcrafts® import std; import Crafter.Build; using namespace Crafter; // An executable that is not packaged as a Flatpak, which a build would // compile as linked. extern "C" Configuration CrafterBuildProject(std::span args) { Configuration cfg; cfg.path = "./"; cfg.name = "raw-app"; cfg.outputName = "raw-app"; cfg.type = ConfigurationType::Executable; ApplyStandardArgs(cfg, args); std::array interfaces = {}; std::array implementations = { "main" }; cfg.GetInterfacesAndImplementations(interfaces, implementations); return cfg; }