[picobench] Add new port (#48867)

Co-authored-by: Kai Pastor <dg0yt@darc.de>
This commit is contained in:
myd7349
2025-12-16 07:20:20 +08:00
committed by GitHub
parent 4b0c669ed9
commit 3595b21e82
4 changed files with 34 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
# header-only library
set(VCPKG_BUILD_TYPE release)
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO iboB/picobench
REF "v${VERSION}"
SHA512 2c516c56fa558c395549c3c8daf5cc29fd2cae5e5af00d5b5e079b15f472979db6c4edf078e294715a2fb12d6ad8ba1dc5fe216e2de837a290bb418e0f78d166
HEAD_REF main
)
file(COPY "${SOURCE_PATH}/include/picobench/picobench.hpp" DESTINATION "${CURRENT_PACKAGES_DIR}/include/picobench")
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE.txt")

View File

@@ -0,0 +1,7 @@
{
"name": "picobench",
"version": "2.8.0",
"description": "A micro microbenchmarking library for C++11 in a single header file",
"homepage": "https://github.com/iboB/picobench",
"license": "MIT"
}

View File

@@ -7564,6 +7564,10 @@
"baseline": "5.5.0",
"port-version": 1
},
"picobench": {
"baseline": "2.8.0",
"port-version": 0
},
"picojson": {
"baseline": "1.3.0",
"port-version": 3

View File

@@ -0,0 +1,9 @@
{
"versions": [
{
"git-tree": "51e1b690dede38d0055e909352c4f3b61a36c06e",
"version": "2.8.0",
"port-version": 0
}
]
}