mirror of https://github.com/microsoft/vcpkg.git
[hanjingo-high-jump] New Port (#47885)
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
This commit is contained in:
parent
7c851c520b
commit
64fad00d15
|
|
@ -0,0 +1,23 @@
|
|||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO hanjingo/high-jump
|
||||
REF v${VERSION}
|
||||
SHA512 de21d3e9f8005164362257d3ff6503e3aa7b9fb96959a3e95d6e7593604b60435d11d1c7e2b4035709bbd0ec5aa9056789f3f934d14f60fbc76bfb4fcb9da379
|
||||
)
|
||||
|
||||
vcpkg_cmake_configure(
|
||||
SOURCE_PATH ${SOURCE_PATH}
|
||||
OPTIONS
|
||||
-DBUILD_LIB=OFF
|
||||
-DBUILD_EXAMPLE=OFF
|
||||
-DBUILD_TEST=OFF
|
||||
-DBUILD_BENCH=OFF
|
||||
)
|
||||
|
||||
vcpkg_cmake_install()
|
||||
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug")
|
||||
|
||||
file(INSTALL "${CMAKE_CURRENT_LIST_DIR}/usage" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}")
|
||||
|
||||
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
hanjingo-high-jump provides CMake targets:
|
||||
|
||||
find_package(hj CONFIG REQUIRED)
|
||||
target_link_libraries(myapp PRIVATE hj::hj)
|
||||
|
|
@ -0,0 +1,22 @@
|
|||
{
|
||||
"name": "hanjingo-high-jump",
|
||||
"version": "1.0.3",
|
||||
"maintainers": [
|
||||
"hanjingo",
|
||||
"hehehunanchina@live.com"
|
||||
],
|
||||
"description": "Modern C++ library framework implemented by C++17. High-jump(hj) is a comprehensive C++ library providing utilities for algorithms, compression, cryptography, databases, encoding, hardware, I/O, logging, math, networking, OS operations, synchronization, testing, time handling, types, and more.",
|
||||
"homepage": "https://github.com/hanjingo/high-jump",
|
||||
"license": "GPL-3.0-only",
|
||||
"supports": "!uwp",
|
||||
"dependencies": [
|
||||
{
|
||||
"name": "vcpkg-cmake",
|
||||
"host": true
|
||||
},
|
||||
{
|
||||
"name": "vcpkg-cmake-config",
|
||||
"host": true
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
@ -3672,6 +3672,10 @@
|
|||
"baseline": "18.0.0",
|
||||
"port-version": 1
|
||||
},
|
||||
"hanjingo-high-jump": {
|
||||
"baseline": "1.0.3",
|
||||
"port-version": 0
|
||||
},
|
||||
"happly": {
|
||||
"baseline": "2021-03-19",
|
||||
"port-version": 0
|
||||
|
|
|
|||
|
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "bc484ecb38977ea695b354aad878144050ffdb8a",
|
||||
"version": "1.0.3",
|
||||
"port-version": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
Loading…
Reference in New Issue