diff options
| author | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
|---|---|---|
| committer | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
| commit | 54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch) | |
| tree | d915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/hanjingo-high-jump | |
Diffstat (limited to 'vcpkg/ports/hanjingo-high-jump')
| -rw-r--r-- | vcpkg/ports/hanjingo-high-jump/portfile.cmake | 23 | ||||
| -rw-r--r-- | vcpkg/ports/hanjingo-high-jump/usage | 4 | ||||
| -rw-r--r-- | vcpkg/ports/hanjingo-high-jump/vcpkg.json | 22 |
3 files changed, 49 insertions, 0 deletions
diff --git a/vcpkg/ports/hanjingo-high-jump/portfile.cmake b/vcpkg/ports/hanjingo-high-jump/portfile.cmake new file mode 100644 index 0000000..65a3159 --- /dev/null +++ b/vcpkg/ports/hanjingo-high-jump/portfile.cmake @@ -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") diff --git a/vcpkg/ports/hanjingo-high-jump/usage b/vcpkg/ports/hanjingo-high-jump/usage new file mode 100644 index 0000000..2fe5930 --- /dev/null +++ b/vcpkg/ports/hanjingo-high-jump/usage @@ -0,0 +1,4 @@ +hanjingo-high-jump provides CMake targets: + + find_package(hj CONFIG REQUIRED) + target_link_libraries(myapp PRIVATE hj::hj) diff --git a/vcpkg/ports/hanjingo-high-jump/vcpkg.json b/vcpkg/ports/hanjingo-high-jump/vcpkg.json new file mode 100644 index 0000000..9ea5bd0 --- /dev/null +++ b/vcpkg/ports/hanjingo-high-jump/vcpkg.json @@ -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 + } + ] +} |