import std; import Crafter.Build; namespace fs = std::filesystem; using namespace Crafter; extern "C" Configuration CrafterBuildProject(std::span) { Configuration cfg; cfg.path = "./"; cfg.name = "aarch-hello"; cfg.outputName = "aarch-hello"; cfg.target = "aarch64-linux-gnu"; cfg.march = "armv8-a"; cfg.mtune = "generic"; cfg.sysroot = "/opt/aarch64-rootfs"; cfg.type = ConfigurationType::Executable; std::array ifaces = {}; std::array impls = { "main" }; cfg.GetInterfacesAndImplementations(ifaces, impls); return cfg; }