[functions-framework-cpp] add new port with version 0.3.0 (#15989)

* [functions-framework-cpp] add new port with version 0.3.0

* Address review comments

* Too much cleanup in the CI baseline

* Update version file
This commit is contained in:
Carlos O'Ryan 2021-02-08 20:55:26 -05:00 committed by GitHub
parent 8317bf972a
commit 5f6519aaad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 59 additions and 0 deletions

View File

@ -0,0 +1,31 @@
# TODO(coryan) - fix support for DLLs
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO GoogleCloudPlatform/functions-framework-cpp
REF v0.3.0
SHA512 28594c275b7ac85ccbdcd9a1ab8e3a7c26932006f0da6ede4aab29f303305536b111cbcf99e9f8558f71f56876bc3e3b790f0627bd708ec9b09999f27ef37f3b
HEAD_REF main
)
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
DISABLE_PARALLEL_CONFIGURE
OPTIONS
-DBUILD_TESTING=OFF
)
vcpkg_install_cmake(ADD_BIN_TO_PATH)
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake TARGET_PATH share)
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/share)
file(
INSTALL ${SOURCE_PATH}/LICENSE
DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT}
RENAME copyright)
vcpkg_copy_pdbs()

View File

@ -0,0 +1,13 @@
{
"name": "functions-framework-cpp",
"version-string": "0.3.0",
"description": "Functions Framework for C++.",
"homepage": "https://github.com/GoogleCloudPlatform/functions-framework-cpp/",
"dependencies": [
"abseil",
"boost-beast",
"boost-program-options",
"boost-serialization",
"nlohmann-json"
]
}

View File

@ -336,6 +336,8 @@ fribidi:arm64-windows=fail
fribidi:arm-uwp=fail
fribidi:x64-uwp=fail
ftgl:x64-uwp=fail
# https://github.com/GoogleCloudPlatform/functions-framework-cpp/issues/207
functions-framework-cpp:x64-uwp=fail
fuzzylite:arm-uwp=fail
fuzzylite:x64-linux=fail
fuzzylite:x64-osx=fail

View File

@ -2060,6 +2060,10 @@
"baseline": "4.1.0",
"port-version": 0
},
"functions-framework-cpp": {
"baseline": "0.3.0",
"port-version": 0
},
"fuzzylite": {
"baseline": "6.0",
"port-version": 3

View File

@ -0,0 +1,9 @@
{
"versions": [
{
"git-tree": "35de9501f7e2c91bb35da41cffac790008330a3c",
"version-string": "0.3.0",
"port-version": 0
}
]
}