aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCharles Milette <me@charlesmilette.net>2019-05-08 15:40:09 -0400
committerPhil Christensen <philc@microsoft.com>2019-05-08 12:40:09 -0700
commit0e1ea7576c03e0202a5424c24068b07a2b191fe7 (patch)
tree6650453ef78d0e760a6af6281d346c0b8aa088a6
parent5121e7149e785fb7d8455b3f380b829349e9e4a6 (diff)
downloadvcpkg-0e1ea7576c03e0202a5424c24068b07a2b191fe7.tar.gz
vcpkg-0e1ea7576c03e0202a5424c24068b07a2b191fe7.zip
[wil] new port (#6353)
* [wil] new port
-rw-r--r--ports/wil/CONTROL3
-rw-r--r--ports/wil/portfile.cmake13
2 files changed, 16 insertions, 0 deletions
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