early-access version 2853
This commit is contained in:
31
externals/vcpkg/ports/xxhash/portfile.cmake
vendored
Executable file
31
externals/vcpkg/ports/xxhash/portfile.cmake
vendored
Executable file
@@ -0,0 +1,31 @@
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO Cyan4973/xxHash
|
||||
REF v0.8.1
|
||||
SHA512 12feedd6a1859ef55e27218dbd6dcceccbb5a4da34cd80240d2f7d44cd246c7afdeb59830c2d5b90189bb5159293532208bf5bb622250102e12d6e1bad14a193
|
||||
HEAD_REF dev
|
||||
)
|
||||
|
||||
vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
|
||||
FEATURES xxhsum XXHASH_BUILD_XXHSUM
|
||||
)
|
||||
|
||||
vcpkg_cmake_configure(
|
||||
SOURCE_PATH ${SOURCE_PATH}/cmake_unofficial
|
||||
OPTIONS ${FEATURE_OPTIONS}
|
||||
)
|
||||
|
||||
vcpkg_cmake_install()
|
||||
vcpkg_copy_pdbs()
|
||||
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/xxHash)
|
||||
|
||||
if("xxhsum" IN_LIST FEATURES)
|
||||
vcpkg_copy_tools(TOOL_NAMES xxhsum AUTO_CLEAN)
|
||||
endif()
|
||||
|
||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/share)
|
||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
|
||||
|
||||
vcpkg_fixup_pkgconfig()
|
||||
|
||||
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
|
||||
22
externals/vcpkg/ports/xxhash/vcpkg.json
vendored
Executable file
22
externals/vcpkg/ports/xxhash/vcpkg.json
vendored
Executable file
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"name": "xxhash",
|
||||
"version": "0.8.1",
|
||||
"port-version": 1,
|
||||
"description": "Extremely fast hash algorithm",
|
||||
"homepage": "https://github.com/Cyan4973/xxHash",
|
||||
"dependencies": [
|
||||
{
|
||||
"name": "vcpkg-cmake",
|
||||
"host": true
|
||||
},
|
||||
{
|
||||
"name": "vcpkg-cmake-config",
|
||||
"host": true
|
||||
}
|
||||
],
|
||||
"features": {
|
||||
"xxhsum": {
|
||||
"description": "Build the xxhsum binary"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user