From 0e1ea7576c03e0202a5424c24068b07a2b191fe7 Mon Sep 17 00:00:00 2001 From: Charles Milette Date: Wed, 8 May 2019 15:40:09 -0400 Subject: [wil] new port (#6353) * [wil] new port --- ports/wil/CONTROL | 3 +++ ports/wil/portfile.cmake | 13 +++++++++++++ 2 files changed, 16 insertions(+) create mode 100644 ports/wil/CONTROL create mode 100644 ports/wil/portfile.cmake diff --git a/ports/wil/CONTROL b/ports/wil/CONTROL new file mode 100644 index 000000000..3db06e5b9 --- /dev/null +++ b/ports/wil/CONTROL @@ -0,0 +1,3 @@ +Source: wil +Version: 2019-05-08 +Description: The Windows Implementation Libraries (WIL) is a header-only C++ library created to make life easier for developers on Windows through readable type-safe C++ interfaces for common Windows coding patterns. \ No newline at end of file diff --git a/ports/wil/portfile.cmake b/ports/wil/portfile.cmake new file mode 100644 index 000000000..369280920 --- /dev/null +++ b/ports/wil/portfile.cmake @@ -0,0 +1,13 @@ +#header-only library +include(vcpkg_common_functions) + +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO Microsoft/wil + REF 43613517258fbd94182e195b1a4887420ed74b31 + SHA512 cf15c8571d81b837b2ce4083d7e70d738698ff5ef99a7e99daa96618463281fc8e6642f1703d3b96de7208f7720ecf4108f6ed09b33d2980c2b609dc70fd4653 + HEAD_REF master +) + +file(INSTALL ${SOURCE_PATH}/include DESTINATION ${CURRENT_PACKAGES_DIR}) +file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/wil RENAME copyright) \ No newline at end of file -- cgit v1.2.3