diff options
author | Oleg Morozenkov <m@oleg.rocks> | 2020-11-10 18:59:33 +0300 |
---|---|---|
committer | Oleg Morozenkov <m@oleg.rocks> | 2020-11-10 18:59:33 +0300 |
commit | a0839c87262c9e7045407990161c1797e83ceaab (patch) | |
tree | 1bd0225cebad027670f85bed6d142dbfce85cf87 /sw.cpp | |
parent | 9fe48a3628b58dc259c36a106630d8134d029da5 (diff) |
Remove sw because it disrupts CI
Diffstat (limited to 'sw.cpp')
-rw-r--r-- | sw.cpp | 33 |
1 files changed, 0 insertions, 33 deletions
@@ -1,33 +0,0 @@ -void build(Solution &s) -{ - auto &tgbot = s.addLibrary("reo7sp.tgbot", "1.2.2"); - tgbot += Git("https://github.com/reo7sp/tgbot-cpp", "v{M}.{m}{po}"); - { - tgbot += cpp14; - - tgbot.ApiName = "TGBOT_API"; - - if (tgbot.getCompilerType() == CompilerType::MSVC) - tgbot.CompileOptions.push_back("/Zc:__cplusplus"); - - 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; - } - - auto &t = tgbot.addExecutable("test"); - { - t.Scope = TargetScope::Test; - t += cpp14; - t += "test/.*"_rr; - t += "test"_idir; - t += "SW_BUILD"_def; - t += tgbot; - t += "org.sw.demo.boost.test"_dep; - } - - tgbot.addTest(t); -} |