import std; import Crafter.Build; namespace fs = std::filesystem; using namespace Crafter; extern "C" Configuration CrafterBuildProject(std::span) { Configuration cfg; cfg.path = "./"; cfg.name = "qemu-meta"; cfg.outputName = "qemu-meta"; cfg.target = "x86_64-pc-linux-gnu"; cfg.type = ConfigurationType::Executable; Test t; t.config.path = "./"; t.config.name = "Hello"; t.config.outputName = "Hello"; t.config.target = "x86_64-pc-linux-gnu"; t.config.type = ConfigurationType::Executable; std::array ifaces = {}; std::array impls = { "tests/Hello" }; t.config.GetInterfacesAndImplementations(ifaces, impls); t.runner = TestRunner::FromEnv(t.config.target); cfg.tests.push_back(std::move(t)); return cfg; }