aboutsummaryrefslogtreecommitdiff
path: root/ports/wil
diff options
context:
space:
mode:
authormyd7349 <myd7349@gmail.com>2019-05-27 19:15:06 +0800
committermyd7349 <myd7349@gmail.com>2019-05-27 19:15:06 +0800
commit8999734b401bb8bac9fa20ce831b2ad2a9a67add (patch)
tree3f5cf1d5abbbc4295b556ea6e27882950bdd81f3 /ports/wil
parenta7ac12c90afed0a13e3b24d509927d2fca506115 (diff)
parent9ffac4d56eed774419fbb628ea89417a6399db58 (diff)
downloadvcpkg-8999734b401bb8bac9fa20ce831b2ad2a9a67add.tar.gz
vcpkg-8999734b401bb8bac9fa20ce831b2ad2a9a67add.zip
Merge branch 'master' into rdkafka-init
Diffstat (limited to 'ports/wil')
-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