diff options
| -rw-r--r-- | ports/robin-hood-hashing/CONTROL | 3 | ||||
| -rw-r--r-- | ports/robin-hood-hashing/portfile.cmake | 16 |
2 files changed, 19 insertions, 0 deletions
diff --git a/ports/robin-hood-hashing/CONTROL b/ports/robin-hood-hashing/CONTROL new file mode 100644 index 000000000..d30871519 --- /dev/null +++ b/ports/robin-hood-hashing/CONTROL @@ -0,0 +1,3 @@ +Source: robin-hood-hashing +Version: 3.2.13 +Description: Fast & memory efficient hashtable based on robin hood hashing for C++14 diff --git a/ports/robin-hood-hashing/portfile.cmake b/ports/robin-hood-hashing/portfile.cmake new file mode 100644 index 000000000..890d6f86a --- /dev/null +++ b/ports/robin-hood-hashing/portfile.cmake @@ -0,0 +1,16 @@ +# header-only library + +include(vcpkg_common_functions) + +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO martinus/robin-hood-hashing + REF 3.2.13 + SHA512 5c508a1f43d2ca86c89b9aac3b17493a23b8ee3c7485438afc8e5eb4e697d663588e1945001ba3ba95dd1480b3c1b846079fadec5972e5ac4462117379052433 + HEAD_REF master +) + +file(COPY ${SOURCE_PATH}/src/include/robin_hood.h DESTINATION ${CURRENT_PACKAGES_DIR}/include) + +# Handle copyright +configure_file(${SOURCE_PATH}/LICENSE ${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright COPYONLY) |
