early-access version 2853

This commit is contained in:
pineappleEA
2022-07-23 03:01:36 +02:00
parent 1f2b5081b5
commit 1f111bb69c
8955 changed files with 418777 additions and 999 deletions

View File

@@ -0,0 +1,23 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO reo7sp/tgbot-cpp
REF v1.3
SHA512 1b992c7705a5f7bb081df3eb032feb78b2b5eb2e73a7be822cd12552702a4d18ac9eecbd0c842f2d6c48757e91d3f8ceb5965237264b9ec18657e51c3bde7f79
HEAD_REF master
)
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
)
vcpkg_cmake_install()
vcpkg_copy_pdbs()
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/bin ${CURRENT_PACKAGES_DIR}/debug/bin)
endif()
# Handle copyright
configure_file(${SOURCE_PATH}/LICENSE ${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright COPYONLY)

23
externals/vcpkg/ports/tgbot-cpp/vcpkg.json vendored Executable file
View File

@@ -0,0 +1,23 @@
{
"name": "tgbot-cpp",
"version": "1.3",
"description": "C++14 library for Telegram bot API.",
"homepage": "https://github.com/reo7sp/tgbot-cpp",
"license": "MIT",
"dependencies": [
"boost-algorithm",
"boost-asio",
"boost-lexical-cast",
"boost-property-tree",
"boost-system",
"boost-test",
"boost-variant",
"curl",
"openssl",
{
"name": "vcpkg-cmake",
"host": true
},
"zlib"
]
}