summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEgor Pugin <egor.pugin@gmail.com>2020-03-13 17:39:19 +0300
committerEgor Pugin <egor.pugin@gmail.com>2020-03-13 17:39:19 +0300
commit1ff08a8925a439f2fc4e8c2c02a85c0a17505722 (patch)
treed8daf0b54f909bcb53791be2eea009271e8764d0
parentb6f2240aea4a496b288215875814309275f3b4f0 (diff)
[sw] Add shared build.
-rw-r--r--sw.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/sw.cpp b/sw.cpp
index adfd5b7..9f5ef63 100644
--- a/sw.cpp
+++ b/sw.cpp
@@ -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;