mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-14 06:28:00 +08:00
[nanobench] Add new port (#11955)
* [nanobench] Add new port * Update ports/nanobench/portfile.cmake * Update ports/nanobench/portfile.cmake Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>
This commit is contained in:
parent
3c5c7d0f38
commit
da3be5d43b
4
ports/nanobench/CONTROL
Normal file
4
ports/nanobench/CONTROL
Normal file
@ -0,0 +1,4 @@
|
||||
Source: nanobench
|
||||
Version: 4.0.0
|
||||
Homepage: https://nanobench.ankerl.com
|
||||
Description: Simple, fast, accurate single-header microbenchmarking functionality for C++11/14/17/20
|
16
ports/nanobench/portfile.cmake
Normal file
16
ports/nanobench/portfile.cmake
Normal file
@ -0,0 +1,16 @@
|
||||
# Header-only library
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO martinus/nanobench
|
||||
REF c534992696b9341274c6714931d0064d74239fcb #v4.0.0
|
||||
SHA512 09078f1100c6f843e7646b8aaab687c32e71ba2dc05a2a5b282c72ab064ceffbf4aeb5ad14c4a2bdbe2ea66dca9cd207dee5eade44f77844cddfa490b4c09c32
|
||||
HEAD_REF master
|
||||
)
|
||||
|
||||
file(
|
||||
COPY ${SOURCE_PATH}/src/include/nanobench.h
|
||||
DESTINATION ${CURRENT_PACKAGES_DIR}/include
|
||||
)
|
||||
|
||||
# Handle copyright
|
||||
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
|
Loading…
x
Reference in New Issue
Block a user