diff options
| author | Vennor <vennor@protonmail.com> | 2020-06-02 01:21:50 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-06-01 16:21:50 -0700 |
| commit | c0e7ca335edc3fa7bea29121cb2257ea05a7147d (patch) | |
| tree | dcd4692ff5ba743ef6649f571be88a05dd6d07c1 | |
| parent | 4cc5ac58b397f00d7209728615e6d0c1b762ff95 (diff) | |
| download | vcpkg-c0e7ca335edc3fa7bea29121cb2257ea05a7147d.tar.gz vcpkg-c0e7ca335edc3fa7bea29121cb2257ea05a7147d.zip | |
[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
| -rw-r--r-- | ports/refl-cpp/CONTROL | 4 | ||||
| -rw-r--r-- | ports/refl-cpp/portfile.cmake | 13 |
2 files changed, 17 insertions, 0 deletions
diff --git a/ports/refl-cpp/CONTROL b/ports/refl-cpp/CONTROL new file mode 100644 index 000000000..bb75e1e9e --- /dev/null +++ b/ports/refl-cpp/CONTROL @@ -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 diff --git a/ports/refl-cpp/portfile.cmake b/ports/refl-cpp/portfile.cmake new file mode 100644 index 000000000..999dd1c6a --- /dev/null +++ b/ports/refl-cpp/portfile.cmake @@ -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) |
