Add package definitions.

This commit is contained in:
lzwdgc 2021-05-08 19:28:20 +03:00
parent c01c10f2d0
commit 1792ceb6a3

1
sw.cpp
View file

@ -13,6 +13,7 @@ void build(Solution &s)
auto add_exe = [&tools](const String &name) -> decltype(auto)
{
auto &t = tools.addExecutable(name);
t.PackageDefinitions = true;
t += cpp20;
t.setRootDirectory("src/" + name);
t += "pub.egorpugin.primitives.sw.main"_dep;