[cli] update to v.2.0.0 (#19744)

* [cli] Update the version to 1.1.1

* [cli] Update the version to 1.2.1

* [cli] Update the version to 1.2.1: fix PR requests

* [aricpp] create a new port (#17162)

* [cli] run the command: ./vcpkg x-add-version --all

* [aricpp] change request for #18048

* Update ports/aricpp/portfile.cmake

* [aricpp] change request for #18048

* Update ports/aricpp/vcpkg.json

* Update ports/aricpp/vcpkg.json

* Update versions/a-/aricpp.json

* Update versions/a-/aricpp.json

* [aricpp] port-version -> 0

* [cli] v. 2.0

* [cli] Update ports/cli/portfile.cmake

Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>

* Update ports/cli/portfile.cmake

Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>

* [cli] bump port version

* Update versions/c-/cli.json

Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>

Co-authored-by: Daniele Pallastrelli <daniele.pallastrelli@sadel.it>
Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>
Co-authored-by: nicole mazzuca <mazzucan@outlook.com>
Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>
This commit is contained in:
Daniele Pallastrelli 2021-08-30 19:25:27 +02:00 committed by GitHub
parent 116ce79d70
commit f732367744
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 33 additions and 15 deletions

View File

@ -1,5 +0,0 @@
Source: cli
Version: 1.2.1
Homepage: https://github.com/daniele77/cli
Description: A library for interactive command line interfaces in modern C++
Build-Depends: boost-asio

View File

@ -1,18 +1,19 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO daniele77/cli
REF v1.2.1
SHA512 fc834608ac2ca6c3f330711c80897cc581eb1ed8da7a0d56a07efe6650d871f5317c777a6a029fdc0177684f08479bd129cc0ce748354bac3dbe6af79a390d14
REF v2.0.0
SHA512 8a3e42d02f8bf757628fb876ccfa376771bbe66e7820d7fd5b34119fca262129f5122e67d939e0898b5964a162a8fd4538d5e6ffa96c4935a8c3979e5d5dbd9d
HEAD_REF master
)
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
)
vcpkg_install_cmake()
vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/cli)
vcpkg_cmake_install()
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug ${CURRENT_PACKAGES_DIR}/lib)
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
vcpkg_copy_pdbs()
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/cli)
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug" "${CURRENT_PACKAGES_DIR}/lib")
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)

17
ports/cli/vcpkg.json Normal file
View File

@ -0,0 +1,17 @@
{
"name": "cli",
"version-semver": "2.0.0",
"description": "A library for interactive command line interfaces in modern C++",
"homepage": "https://github.com/daniele77/cli",
"dependencies": [
"boost-asio",
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
}
]
}

View File

@ -1301,7 +1301,7 @@
"port-version": 0
},
"cli": {
"baseline": "1.2.1",
"baseline": "2.0.0",
"port-version": 0
},
"cli11": {

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "52c57cc23f038ec2f73805b37f42639541036956",
"version-semver": "2.0.0",
"port-version": 0
},
{
"git-tree": "ae335f0cbfecdfb4f7d5448bf3e1fec0ae9aecb9",
"version-string": "1.2.1",