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.Thread"; cfg.outputName = "Crafter.Thread"; cfg.type = ConfigurationType::LibraryStatic; ApplyStandardArgs(cfg, args); std::array ifaces = { "interfaces/Crafter.Thread", "interfaces/Crafter.Thread-ThreadPool", }; std::array impls = { "implementations/Crafter.Thread-ThreadPool", }; cfg.GetInterfacesAndImplementations(ifaces, impls); return cfg; }