[libcopp] Update to 1.4.1 (#18425)

This commit is contained in:
WenTao Ou 2021-06-22 05:18:40 +08:00 committed by GitHub
parent fbab325f47
commit b56f5abcb2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 29 additions and 10 deletions

View File

@ -1,5 +0,0 @@
Source: libcopp
Version: 1.3.4
Description: A cross-platfrom coroutine library for C++
Maintainer: owent <admin@owent.net>
Homepage: https://libcopp.atframe.work/

View File

@ -1,14 +1,24 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO owt5008137/libcopp
REF d7ee2550fdcaf3961e4284bb5218e3ed05be437c # 1.3.4
SHA512 0fa7a83c17046e187183d0244828e82adeb5e39e75b27757d1b540fd8948c48b02de40edea706d588ba553a276c4f2f8e9e3dad78065e515a1652abe4fbea8b0
REPO owent/libcopp
REF 1.4.1
SHA512 eba06bd2de7c9ee557cdd0bf79e0c53e37722b671347436322c14c99e94d955477bfc0980a4f59a5c31051e108f952ec96791024c45fa8eeaa5f7a49099dd8ae
HEAD_REF v2
)
# atframework/cmake-toolset needed as a submodule for configure cmake
vcpkg_from_github(
OUT_SOURCE_PATH ATFRAMEWORK_CMAKE_TOOLSET
REPO atframework/cmake-toolset
REF v1.3.5
SHA512 5048c204eb6358547d99712a06866836e1a6dc20dee44cc33fae77181bdf9ece5686f30062eff6a231e1ec898d5a37ebaddb243e7e3484c002bb96240aa496a5
HEAD_REF main
)
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
DISABLE_PARALLEL_CONFIGURE
OPTIONS "-DATFRAMEWORK_CMAKE_TOOLSET_DIR=${ATFRAMEWORK_CMAKE_TOOLSET}"
)
vcpkg_install_cmake()
@ -19,7 +29,7 @@ file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${
vcpkg_copy_pdbs()
vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake)
vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/libcopp)
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")

9
ports/libcopp/vcpkg.json Normal file
View File

@ -0,0 +1,9 @@
{
"name": "libcopp",
"version-semver": "1.4.1",
"maintainers": "owent <admin@owent.net>",
"description": "A cross-platfrom coroutine library for C++",
"homepage": "https://github.com/owent/libcopp",
"documentation": "https://libcopp.atframe.work/",
"license": "MIT"
}

View File

@ -3057,7 +3057,7 @@
"port-version": 0
},
"libcopp": {
"baseline": "1.3.4",
"baseline": "1.4.1",
"port-version": 0
},
"libcrafter": {

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "88846bda722ae7f10ec578f41c08a9cacf2ba7ba",
"version-semver": "1.4.1",
"port-version": 0
},
{
"git-tree": "22af9650936b7555dd45a5e211277095a37637dd",
"version-string": "1.3.4",