diff options
| author | Phil Christensen <philc@microsoft.com> | 2019-08-28 11:57:46 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-08-28 11:57:46 -0700 |
| commit | 9510b34f2df298dfe63296a182855e32da33181d (patch) | |
| tree | da1879ce3c5ad3855045cd0c3ba1db932569a143 | |
| parent | 65d4bc146bf7c1c21989b680497b1f6f9a09c967 (diff) | |
| parent | eccf5f8e04464c91f061a3647f0a99b2a018b191 (diff) | |
| download | vcpkg-9510b34f2df298dfe63296a182855e32da33181d.tar.gz vcpkg-9510b34f2df298dfe63296a182855e32da33181d.zip | |
Merge pull request #7940 from PhoebeHui/dev/Phoebe/addoutcome
[outcome] Add new port
| -rw-r--r-- | ports/outcome/CONTROL | 4 | ||||
| -rw-r--r-- | ports/outcome/portfile.cmake | 16 |
2 files changed, 20 insertions, 0 deletions
diff --git a/ports/outcome/CONTROL b/ports/outcome/CONTROL new file mode 100644 index 000000000..a90346b67 --- /dev/null +++ b/ports/outcome/CONTROL @@ -0,0 +1,4 @@ +Source: outcome +Version: 2.1 +Homepage: https://github.com/ned14/outcome +Description: Provides very lightweight outcome<T> and result<T> (non-Boost edition)
\ No newline at end of file diff --git a/ports/outcome/portfile.cmake b/ports/outcome/portfile.cmake new file mode 100644 index 000000000..a9686b31c --- /dev/null +++ b/ports/outcome/portfile.cmake @@ -0,0 +1,16 @@ +# single header file + +include(vcpkg_common_functions) + +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO ned14/outcome + REF 525478ed519d7c3400d60110649c315d705a07ad #v2.1 + SHA512 cf05f7c09ced02fa5fe3d9ad6533358a2fb63e31b5d5be81c16c285250cd275467217b8f9364b4ff1947d8c4aa6a86e10cef310d8475dcd9f7a0a713f1a01c8e + HEAD_REF develop +) + +file(GLOB_RECURSE OUTCOME_HEADERS "${SOURCE_PATH}/single-header/*.hpp") +file(INSTALL ${OUTCOME_HEADERS} DESTINATION ${CURRENT_PACKAGES_DIR}/include) + +file(INSTALL ${SOURCE_PATH}/Licence.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
\ No newline at end of file |
