[bfgroup-lyra] Install CMake Targets (#16172)

* [bfgroup-lyra] Install cmake targets.

* [bfgroup-lyra] Update port version.

* x-add-version
This commit is contained in:
Adam Johnson 2021-02-11 02:53:37 -05:00 committed by GitHub
parent 8d7cd1d09e
commit d89ed89122
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 26 additions and 7 deletions

View File

@ -1,4 +0,0 @@
Source: bfgroup-lyra
Version: 1.5
Homepage: https://bfgroup.github.io/Lyra/
Description: A simple to use, composable, command line parser for C++ 11 and beyond

View File

@ -6,6 +6,17 @@ vcpkg_from_github(
HEAD_REF master
)
file(COPY ${SOURCE_PATH}/include/lyra DESTINATION ${CURRENT_PACKAGES_DIR}/include)
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
)
vcpkg_install_cmake()
vcpkg_fixup_cmake_targets(
CONFIG_PATH share/lyra/cmake
TARGET_PATH share/lyra
)
configure_file(${SOURCE_PATH}/LICENSE.txt ${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright COPYONLY)
# Library is header-only, so no debug content.
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug")
file(INSTALL ${SOURCE_PATH}/LICENSE.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)

View File

@ -0,0 +1,7 @@
{
"name": "bfgroup-lyra",
"version-string": "1.5",
"port-version": 1,
"description": "A simple to use, composable, command line parser for C++ 11 and beyond",
"homepage": "https://bfgroup.github.io/Lyra/"
}

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "0cfb523191016e3f686356b2d522034a2b7a47da",
"version-string": "1.5",
"port-version": 1
},
{
"git-tree": "c4a41ae13598868ce4257c7791ea89665d8104b8",
"version-string": "1.5",

View File

@ -334,7 +334,7 @@
},
"bfgroup-lyra": {
"baseline": "1.5",
"port-version": 0
"port-version": 1
},
"bigint": {
"baseline": "2010.04.30",