mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-18 16:43:02 +08:00
[hps] Add new port (#23946)
* Added hps port * Update version database * added quotes around variables in portfile.cmake * Updated versions/h-/hps.json * add usage file Co-authored-by: Prateek Joshi <empty@empty.com> Co-authored-by: nicole mazzuca <mazzucan@outlook.com>
This commit is contained in:
parent
a3e9d4d0f8
commit
620e68b9b5
20
ports/hps/portfile.cmake
Normal file
20
ports/hps/portfile.cmake
Normal file
@ -0,0 +1,20 @@
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO jl2922/hps
|
||||
REF 8d1403697a2fad6ddf02c7afb190596ca68b2105
|
||||
SHA512 e0c22de8a684891a5b6faa968c72782ffb44c5359ce53a4cbd74abf5e1b6d5d1ff30ce96a4fc4c38fc7a0222d6874eab47b76c5a87fce1c43285a915d0f55814
|
||||
HEAD_REF master
|
||||
)
|
||||
|
||||
# Install header files
|
||||
file(INSTALL
|
||||
DIRECTORY
|
||||
"${SOURCE_PATH}/src/"
|
||||
DESTINATION
|
||||
"${CURRENT_PACKAGES_DIR}/include/${PORT}"
|
||||
FILES_MATCHING PATTERN "*.h" )
|
||||
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/include/${PORT}/benchmark")
|
||||
|
||||
file(INSTALL "${CMAKE_CURRENT_LIST_DIR}/usage" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}")
|
||||
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|
4
ports/hps/usage
Normal file
4
ports/hps/usage
Normal file
@ -0,0 +1,4 @@
|
||||
The package hps is header only and can be used from CMake via:
|
||||
|
||||
find_path(HPS_INCLUDE_DIRS "hps/hps.h")
|
||||
target_include_directories(main PRIVATE ${HPS_INCLUDE_DIRS})
|
7
ports/hps/vcpkg.json
Normal file
7
ports/hps/vcpkg.json
Normal file
@ -0,0 +1,7 @@
|
||||
{
|
||||
"name": "hps",
|
||||
"version-date": "2022-01-18",
|
||||
"description": "A C++11 High Performance Serialization Library.",
|
||||
"homepage": "https://github.com/jl2922/hps",
|
||||
"license": "MIT"
|
||||
}
|
@ -2756,6 +2756,10 @@
|
||||
"baseline": "1.0.2",
|
||||
"port-version": 3
|
||||
},
|
||||
"hps": {
|
||||
"baseline": "2022-01-18",
|
||||
"port-version": 0
|
||||
},
|
||||
"hpx": {
|
||||
"baseline": "1.7.1",
|
||||
"port-version": 5
|
||||
|
9
versions/h-/hps.json
Normal file
9
versions/h-/hps.json
Normal file
@ -0,0 +1,9 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "8a0ec99ea7523e63fdb09fcf0eeda02739160688",
|
||||
"version-date": "2022-01-18",
|
||||
"port-version": 0
|
||||
}
|
||||
]
|
||||
}
|
Loading…
Reference in New Issue
Block a user