diff options
| author | kiwixz <kiwixz@outlook.com> | 2018-08-01 02:34:53 +0200 |
|---|---|---|
| committer | Robert Schumacher <roschuma@microsoft.com> | 2018-07-31 17:34:53 -0700 |
| commit | 321bbf1d99c591524afd57c46b6c41d08522abc1 (patch) | |
| tree | 50cc896c41fbb6f80cd53b1366213181254e7f11 | |
| parent | 81d3b2cc6ac89cb9d4f88d24e03bd2b5917fbe49 (diff) | |
| download | vcpkg-321bbf1d99c591524afd57c46b6c41d08522abc1.tar.gz vcpkg-321bbf1d99c591524afd57c46b6c41d08522abc1.zip | |
[pcg] add pcg implementation (#3966)
| -rw-r--r-- | ports/pcg/CONTROL | 3 | ||||
| -rw-r--r-- | ports/pcg/portfile.cmake | 14 |
2 files changed, 17 insertions, 0 deletions
diff --git a/ports/pcg/CONTROL b/ports/pcg/CONTROL new file mode 100644 index 000000000..e01035076 --- /dev/null +++ b/ports/pcg/CONTROL @@ -0,0 +1,3 @@ +Source: pcg +Version: 0.98.1 +Description: Permuted Congruential Generator diff --git a/ports/pcg/portfile.cmake b/ports/pcg/portfile.cmake new file mode 100644 index 000000000..75a4c9040 --- /dev/null +++ b/ports/pcg/portfile.cmake @@ -0,0 +1,14 @@ +include(vcpkg_common_functions) + +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO imneme/pcg-cpp + REF v0.98.1 + SHA512 3625913eba3b5d3ff0763a00728535cd5273a335f0ce0a9ab8e0cd8183a52309cbf72ae50d089cfea89445201993466a5533469db1cb6e82b14c62564731fe70 + HEAD_REF master +) + +file(INSTALL ${SOURCE_PATH}/include/pcg_extras.hpp DESTINATION ${CURRENT_PACKAGES_DIR}/include) +file(INSTALL ${SOURCE_PATH}/include/pcg_random.hpp DESTINATION ${CURRENT_PACKAGES_DIR}/include) +file(INSTALL ${SOURCE_PATH}/include/pcg_uint128.hpp DESTINATION ${CURRENT_PACKAGES_DIR}/include) +file(INSTALL ${SOURCE_PATH}/LICENSE.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/pcg RENAME copyright) |
