mirror of
https://github.com/aimrebirth/tools.git
synced 2026-04-15 01:43:25 +00:00
Add package definitions.
This commit is contained in:
parent
c01c10f2d0
commit
1792ceb6a3
1 changed files with 1 additions and 0 deletions
1
sw.cpp
1
sw.cpp
|
|
@ -13,6 +13,7 @@ void build(Solution &s)
|
||||||
auto add_exe = [&tools](const String &name) -> decltype(auto)
|
auto add_exe = [&tools](const String &name) -> decltype(auto)
|
||||||
{
|
{
|
||||||
auto &t = tools.addExecutable(name);
|
auto &t = tools.addExecutable(name);
|
||||||
|
t.PackageDefinitions = true;
|
||||||
t += cpp20;
|
t += cpp20;
|
||||||
t.setRootDirectory("src/" + name);
|
t.setRootDirectory("src/" + name);
|
||||||
t += "pub.egorpugin.primitives.sw.main"_dep;
|
t += "pub.egorpugin.primitives.sw.main"_dep;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue