diff options
author | Egor Pugin <egor.pugin@gmail.com> | 2020-03-13 17:39:19 +0300 |
---|---|---|
committer | Egor Pugin <egor.pugin@gmail.com> | 2020-03-13 17:39:19 +0300 |
commit | 1ff08a8925a439f2fc4e8c2c02a85c0a17505722 (patch) | |
tree | d8daf0b54f909bcb53791be2eea009271e8764d0 | |
parent | b6f2240aea4a496b288215875814309275f3b4f0 (diff) |
[sw] Add shared build.
-rw-r--r-- | sw.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,11 +1,11 @@ void build(Solution &s) { - auto &tgbot = s.addTarget<StaticLibraryTarget>("reo7sp.tgbot", "1.2.0"); + auto &tgbot = s.addLibrary("reo7sp.tgbot", "1.2.0"); + tgbot += Git("https://github.com/reo7sp/tgbot-cpp", "v{M}.{m}"); { - tgbot += Git("https://github.com/reo7sp/tgbot-cpp", "v{M}.{m}"); - tgbot += cpp11; + tgbot.ApiName = "TGBOT_API"; tgbot.Public += "org.sw.demo.boost.property_tree"_dep; tgbot.Public += "org.sw.demo.openssl.ssl"_dep; tgbot.Public += "org.sw.demo.boost.system"_dep; |