Skip to content

Commit

Permalink
[refl-cpp] Add new port (#11622)
Browse files Browse the repository at this point in the history
* [refl-cpp] Added 0.9.1

* [refl-cpp] Added header only annotation to the portfile

* [refl-cpp] Removed deprecated vcpkg_common_functions
  • Loading branch information
Vennor authored Jun 1, 2020
1 parent 4cc5ac5 commit c0e7ca3
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ports/refl-cpp/CONTROL
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Source: refl-cpp
Version: 0.9.1
Description: A compile-time reflection library for modern C++ with support for overloads, templates, attributes and proxies
Homepage: https://github.com/veselink1/refl-cpp
13 changes: 13 additions & 0 deletions ports/refl-cpp/portfile.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# header-only library

vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO veselink1/refl-cpp
REF v0.9.1
SHA512 ddb48d7f75cf7757031af28b53d07a104cb64e279c8fc23575639c3839f1501b346e40963d358629b612e4f64aba6f86ffc5a592dd6cd8febf872a8cd1466171
HEAD_REF master
)

file(COPY ${SOURCE_PATH}/refl.hpp DESTINATION ${CURRENT_PACKAGES_DIR}/include)

configure_file(${SOURCE_PATH}/LICENSE ${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright COPYONLY)

0 comments on commit c0e7ca3

Please sign in to comment.