mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-26 17:41:09 +08:00
[dbg-macro] Add new port (#7237)
This commit is contained in:
parent
416bee254a
commit
527d1009c3
4
ports/dbg-macro/CONTROL
Normal file
4
ports/dbg-macro/CONTROL
Normal 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
|
16
ports/dbg-macro/portfile.cmake
Normal file
16
ports/dbg-macro/portfile.cmake
Normal 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)
|
Loading…
x
Reference in New Issue
Block a user