Skip to content

Commit c0e7ca3

Browse files
authored
[refl-cpp] Add new port (#11622)
* [refl-cpp] Added 0.9.1 * [refl-cpp] Added header only annotation to the portfile * [refl-cpp] Removed deprecated vcpkg_common_functions
1 parent 4cc5ac5 commit c0e7ca3

File tree

2 files changed

+17
-0
lines changed

2 files changed

+17
-0
lines changed

ports/refl-cpp/CONTROL

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
Source: refl-cpp
2+
Version: 0.9.1
3+
Description: A compile-time reflection library for modern C++ with support for overloads, templates, attributes and proxies
4+
Homepage: https://github.com/veselink1/refl-cpp

ports/refl-cpp/portfile.cmake

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# header-only library
2+
3+
vcpkg_from_github(
4+
OUT_SOURCE_PATH SOURCE_PATH
5+
REPO veselink1/refl-cpp
6+
REF v0.9.1
7+
SHA512 ddb48d7f75cf7757031af28b53d07a104cb64e279c8fc23575639c3839f1501b346e40963d358629b612e4f64aba6f86ffc5a592dd6cd8febf872a8cd1466171
8+
HEAD_REF master
9+
)
10+
11+
file(COPY ${SOURCE_PATH}/refl.hpp DESTINATION ${CURRENT_PACKAGES_DIR}/include)
12+
13+
configure_file(${SOURCE_PATH}/LICENSE ${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright COPYONLY)

0 commit comments

Comments
 (0)