[dbg-macro] Add new port (#7237)

This commit is contained in:
myd7349 2019-07-19 04:47:09 +08:00 committed by Phil Christensen
parent 416bee254a
commit 527d1009c3
2 changed files with 20 additions and 0 deletions

4
ports/dbg-macro/CONTROL Normal file
View File

@ -0,0 +1,4 @@
Source: dbg-macro
Version: 2019-07-11
Description: A dbg(...) macro for C++
Homepage: https://github.com/sharkdp/dbg-macro

View File

@ -0,0 +1,16 @@
# single header file library
include(vcpkg_common_functions)
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO sharkdp/dbg-macro
REF 4409d8428baf700873bcfee42e63bbca6700b97e
SHA512 f9f936707631bee112566a24c92cbf171e54362099df689253ab38d0489400f65c284df81749376f18cb3ebcefea3cc18844554016798c2542ec73dc2afcc931
HEAD_REF master
)
file(COPY ${SOURCE_PATH}/dbg.h DESTINATION ${CURRENT_PACKAGES_DIR}/include)
# Handle copyright
configure_file(${SOURCE_PATH}/LICENSE ${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright COPYONLY)