mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-27 18:31:15 +08:00
[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:
parent
7ced8fb441
commit
ee54793ab2
24
ports/glaze/portfile.cmake
Normal file
24
ports/glaze/portfile.cmake
Normal 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
18
ports/glaze/vcpkg.json
Normal 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
|
||||
}
|
||||
]
|
||||
}
|
@ -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
|
||||
|
@ -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
9
versions/g-/glaze.json
Normal file
@ -0,0 +1,9 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "e4e6b08e9aa73b948606044ed5c5c95c471a8f1f",
|
||||
"version": "1.2.1",
|
||||
"port-version": 0
|
||||
}
|
||||
]
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user