Crafter.Network/tests/ShouldSendRecieveKeepaliveHTTP/project.cpp
2026-05-06 04:06:17 +02:00

20 lines
779 B
C++

import std;
import Crafter.Build;
namespace fs = std::filesystem;
using namespace Crafter;
extern "C" Configuration CrafterBuildProject(std::span<const std::string_view>) {
Configuration cfg;
cfg.path = "tests/ShouldSendRecieveKeepaliveHTTP/";
cfg.name = "ShouldSendRecieveKeepaliveHTTP";
cfg.outputName = "ShouldSendRecieveKeepaliveHTTP";
cfg.target = "x86_64-pc-linux-gnu";
cfg.type = ConfigurationType::Executable;
cfg.dependencies = { ParentLib("crafter-network") };
cfg.linkFlags.push_back("-Wl,--export-dynamic");
cfg.linkFlags.push_back("-ldl");
std::array<fs::path, 0> ifaces = {};
std::array<fs::path, 1> impls = { "ShouldSendRecieveKeepaliveHTTP" };
cfg.GetInterfacesAndImplementations(ifaces, impls);
return cfg;
}