summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--sw.cpp12
2 files changed, 13 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index efe3b57..725b28b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -6,6 +6,7 @@ install_manifest.txt
*.cbp
*.a
*.so
+.sw
doc/
Thumbs.db
TgBot_test
diff --git a/sw.cpp b/sw.cpp
new file mode 100644
index 0000000..8ae298d
--- /dev/null
+++ b/sw.cpp
@@ -0,0 +1,12 @@
+void build(Solution &s)
+{
+ auto &tgbot = s.addTarget<StaticLibraryTarget>("reo7sp.tgbot", "1.2.0");
+ tgbot += Git("https://github.com/reo7sp/tgbot-cpp", "v{M}.{m}");
+
+ 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;
+ tgbot.Public += "org.sw.demo.boost.date_time"_dep;
+ tgbot.Public += "org.sw.demo.badger.curl.libcurl"_dep, "HAVE_CURL"_def;
+ tgbot.Public += "org.sw.demo.boost.asio"_dep;
+}