import std; import Crafter.Build; namespace fs = std::filesystem; using namespace Crafter; extern "C" Configuration CrafterBuildProject(std::span args) { Configuration cfg; cfg.path = "./"; cfg.name = "Crafter.Event"; cfg.outputName = "Crafter.Event"; cfg.type = ConfigurationType::LibraryStatic; auto opts = ApplyStandardArgs(cfg, args); if (opts.Has("--timing")) cfg.defines.push_back({"CRAFTER_TIMING", ""}); std::array ifaces = { "interfaces/Crafter.Event" }; std::array impls = {}; cfg.GetInterfacesAndImplementations(ifaces, impls); return cfg; }