[fplus] Update to 0.2.18 (#24387)

* Update fplus to 0.2.18

* Update CI baseline

* Add license

Co-authored-by: Thomas1664 <46387399+Thomas1664@users.noreply.github.com>

* Remove unused option

* Update CI baseline

* Switch to "version"

* Update CI baseline

Co-authored-by: chausner <chausner@users.noreply.github.com>
Co-authored-by: Thomas1664 <46387399+Thomas1664@users.noreply.github.com>
This commit is contained in:
chausner 2022-04-27 04:26:39 +02:00 committed by GitHub
parent ee0bf4729a
commit bdd93cb0fc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 23 additions and 13 deletions

View File

@ -1,22 +1,20 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO Dobiasd/FunctionalPlus
REF v0.2.14-p0
SHA512 f6232140fc343521bc484c7fa1a9d4942fbfc078be1cefa7b34c33632ec23d55827d13319f7b7a5535c5eedeb3161e15f84ecb80aa110685dbfc2c932c57284b
REF v0.2.18-p0
SHA512 119aaef75020ef06818bf5d33db8bce272e89d69699df9be636bc6fdf06b584e1842440896a431ea2a75b88ce01472f3a9886b8dd781f5e5533315e9ad6860ac
HEAD_REF master
)
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS
-DFPLUS_BUILD_EXAMPLES=OFF
-DFunctionalPlus_INSTALL_CMAKEDIR=share/FunctionalPlus
)
vcpkg_install_cmake()
vcpkg_cmake_install()
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug)
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/lib)
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug")
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/lib")
configure_file(${SOURCE_PATH}/LICENSE ${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright COPYONLY)
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)

View File

@ -1,6 +1,13 @@
{
"name": "fplus",
"version-semver": "0.2.14-p0",
"version": "0.2.18-p0",
"description": "Functional Programming Library for C++. Write concise and readable C++ code",
"homepage": "https://github.com/Dobiasd/FunctionalPlus"
"homepage": "https://github.com/Dobiasd/FunctionalPlus",
"license": "BSL-1.0",
"dependencies": [
{
"name": "vcpkg-cmake",
"host": true
}
]
}

View File

@ -2305,7 +2305,7 @@
"port-version": 0
},
"fplus": {
"baseline": "0.2.14-p0",
"baseline": "0.2.18-p0",
"port-version": 0
},
"freealut": {

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "e982e423baaf3d7728a2122368494d1c57c8e55e",
"version": "0.2.18-p0",
"port-version": 0
},
{
"git-tree": "d76810dad7926ef832d9f75966f99a763ed40cfb",
"version-semver": "0.2.14-p0",