mirror of https://github.com/microsoft/vcpkg.git
[kdalgorithms] Add new port (#29375)
This commit is contained in:
parent
9d92f36654
commit
71d3fa60b6
|
|
@ -0,0 +1,16 @@
|
|||
# header-only library
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO KDAB/KDAlgorithms
|
||||
REF 45501fa595dfda00d6af44bfadbf4520cc4e07c1
|
||||
SHA512 69cdc6644b16fff0eb494e9b21082ae32e0b437e225a161ecf644ad83b74d2957ed97e8b6b5674778b4d2c68b2be02ae4e90c1a30b8c8d1eed79e758d4d4b10e
|
||||
HEAD_REF master
|
||||
)
|
||||
|
||||
file(INSTALL "${SOURCE_PATH}/src/kdalgorithms.h" "${SOURCE_PATH}/src/bits"
|
||||
DESTINATION "${CURRENT_PACKAGES_DIR}/include/${PORT}")
|
||||
|
||||
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE.txt")
|
||||
|
||||
file(COPY "${CMAKE_CURRENT_LIST_DIR}/usage"
|
||||
DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}")
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
kdalgorithms is header-only and can be used from CMake via:
|
||||
|
||||
find_path(KDALGORITHMS_INCLUDE_DIRS "kdalgorithms.h" PATH_SUFFIXES kdalgorithms)
|
||||
target_include_directories(main PRIVATE ${KDALGORITHMS_INCLUDE_DIRS})
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"name": "kdalgorithms",
|
||||
"version-date": "2023-01-31",
|
||||
"description": "KDAB's algorithm helpers for C++14 and up",
|
||||
"homepage": "https://github.com/KDAB/KDAlgorithms",
|
||||
"license": "MIT"
|
||||
}
|
||||
|
|
@ -3352,6 +3352,10 @@
|
|||
"baseline": "1.9.0",
|
||||
"port-version": 1
|
||||
},
|
||||
"kdalgorithms": {
|
||||
"baseline": "2023-01-31",
|
||||
"port-version": 0
|
||||
},
|
||||
"kdbindings": {
|
||||
"baseline": "1.0.0",
|
||||
"port-version": 0
|
||||
|
|
|
|||
|
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "b8b744bbe193f6bbfbe4b02cd8215dc1d8e560a2",
|
||||
"version-date": "2023-01-31",
|
||||
"port-version": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
Loading…
Reference in New Issue