vcpkg/ports/scottt-debugbreak/portfile.cmake
misirlou-tg 127ccb3c5e
[scottt-debugbreak] New port (#20276)
* [scottt-debugbreak] Adding new port

* Run x-add-version
2021-09-23 17:50:15 -07:00

17 lines
517 B
CMake

# Header-only library
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO scottt/debugbreak
REF v1.0
SHA512 bf8c43d42d9b19c9a3cb1fa5955a24efb48c2c21f0d89685f23702c3e2644637f2e8c6ec599024866138519b107787baef838b6d981779e2484e30d20a7386b9
HEAD_REF master
)
file(
COPY "${SOURCE_PATH}/debugbreak.h"
DESTINATION "${CURRENT_PACKAGES_DIR}/include"
)
# Handle copyright
file(INSTALL "${SOURCE_PATH}/COPYING" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)