[glaze] new port (#30966)

Co-authored-by: Frank <65999885+FrankXie05@users.noreply.github.com>
Co-authored-by: Ómar Högni Guðmarsson <kind@rolla.me>
This commit is contained in:
Ómar Högni Guðmarsson 2023-04-27 22:25:13 +00:00 committed by GitHub
parent 7ced8fb441
commit ee54793ab2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 60 additions and 0 deletions

View File

@ -0,0 +1,24 @@
if(VCPKG_TARGET_IS_LINUX)
message("Warning: `glaze` requires Clang or GCC 10+ on Linux")
endif()
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO stephenberry/glaze
REF "v${VERSION}"
SHA512 7943056d02711fbabddeaa84918171d552b9d17fdfb19e44e3a21cced565ba5ba04cc69257720228f6fd3daff2d7fd4455b0b20165642ae23b6eaafb068102e7
)
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS
-DBUILD_TESTING=OFF
)
vcpkg_cmake_install()
vcpkg_copy_pdbs()
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug")
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE.txt")

18
ports/glaze/vcpkg.json Normal file
View File

@ -0,0 +1,18 @@
{
"name": "glaze",
"version": "1.2.1",
"description": "One of the fastest JSON libraries in the world. Glaze reads and writes from C++ memory, simplifying interfaces and offering incredible performance.",
"homepage": "https://github.com/stephenberry/glaze",
"license": "MIT",
"supports": "!uwp",
"dependencies": [
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
}
]
}

View File

@ -1817,3 +1817,8 @@ vcpkg-ci-wxwidgets:x64-windows-static-md=pass
vcpkg-ci-wxwidgets:x64-windows-static=pass
vcpkg-ci-wxwidgets:x64-windows=pass
vcpkg-ci-wxwidgets:x86-windows=pass
glaze:x64-linux=fail
glaze:x64-osx=fail
glaze:arm-neon-android=fail
glaze:x64-android=fail
glaze:arm64-android=fail

View File

@ -2796,6 +2796,10 @@
"baseline": "0.1.36",
"port-version": 0
},
"glaze": {
"baseline": "1.2.1",
"port-version": 0
},
"glbinding": {
"baseline": "3.1.0",
"port-version": 4

9
versions/g-/glaze.json Normal file
View File

@ -0,0 +1,9 @@
{
"versions": [
{
"git-tree": "e4e6b08e9aa73b948606044ed5c5c95c471a8f1f",
"version": "1.2.1",
"port-version": 0
}
]
}