early-access version 2853
This commit is contained in:
33
externals/vcpkg/ports/functions-framework-cpp/portfile.cmake
vendored
Executable file
33
externals/vcpkg/ports/functions-framework-cpp/portfile.cmake
vendored
Executable file
@@ -0,0 +1,33 @@
|
||||
# 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 v1.1.0
|
||||
SHA512 2dcedbded84fdd604724b4f2482ee531aaa640ebdbb69f77978e1af8943d9d7746152953953ebd89d8304ed3efbc334c620890142b0ba2e1239862e43a158364
|
||||
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()
|
||||
|
||||
vcpkg_fixup_pkgconfig()
|
14
externals/vcpkg/ports/functions-framework-cpp/vcpkg.json
vendored
Executable file
14
externals/vcpkg/ports/functions-framework-cpp/vcpkg.json
vendored
Executable file
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"name": "functions-framework-cpp",
|
||||
"version": "1.1.0",
|
||||
"description": "Functions Framework for C++.",
|
||||
"homepage": "https://github.com/GoogleCloudPlatform/functions-framework-cpp/",
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": [
|
||||
"abseil",
|
||||
"boost-beast",
|
||||
"boost-program-options",
|
||||
"boost-serialization",
|
||||
"nlohmann-json"
|
||||
]
|
||||
}
|
Reference in New Issue
Block a user