aboutsummaryrefslogtreecommitdiff
path: root/ports/igloo
diff options
context:
space:
mode:
authoreao197 <eao197@gmail.com>2018-11-12 16:19:10 +0300
committereao197 <eao197@gmail.com>2018-11-12 16:19:10 +0300
commit2d0ce681b068da0b05c3a4a99573dd00a9415eba (patch)
tree85f9572b8edaa611199d6e281af278e56d0094bf /ports/igloo
parent8c13a782a044edc67f655b5dcb0227e737136e74 (diff)
parent8dc8d0e0c97550a95b764287adbad90b7df7d11d (diff)
downloadvcpkg-2d0ce681b068da0b05c3a4a99573dd00a9415eba.tar.gz
vcpkg-2d0ce681b068da0b05c3a4a99573dd00a9415eba.zip
Merge https://github.com/Microsoft/vcpkg
Diffstat (limited to 'ports/igloo')
-rw-r--r--ports/igloo/CONTROL3
-rw-r--r--ports/igloo/portfile.cmake16
2 files changed, 19 insertions, 0 deletions
diff --git a/ports/igloo/CONTROL b/ports/igloo/CONTROL
new file mode 100644
index 000000000..ffa162695
--- /dev/null
+++ b/ports/igloo/CONTROL
@@ -0,0 +1,3 @@
+Source: igloo
+Version: 1.1.1
+Description: A framework for unit testing in C++
diff --git a/ports/igloo/portfile.cmake b/ports/igloo/portfile.cmake
new file mode 100644
index 000000000..a1ab17576
--- /dev/null
+++ b/ports/igloo/portfile.cmake
@@ -0,0 +1,16 @@
+include(vcpkg_common_functions)
+
+vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO joakimkarlsson/igloo
+ REF igloo.1.1.1
+ SHA512 69d8edb840aa1e2c1df4529a39b94e2d33dbc9fb5869ae91a0f062d29b7fbb73d4e2180080e7696cb69fbf5126c7c53c98dddb003e0e5e796812330e1a4ba32e
+ HEAD_REF master
+)
+
+file(COPY ${SOURCE_PATH}/igloo DESTINATION ${CURRENT_PACKAGES_DIR}/include/ FILES_MATCHING PATTERN *.h)
+file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/include/igloo/external/snowhouse)
+file(WRITE "${CURRENT_PACKAGES_DIR}/include/igloo/external/snowhouse/snowhouse/snowhouse.h" "#include <snowhouse/snowhouse.h>")
+
+file(COPY ${SOURCE_PATH}/LICENSE_1_0.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/igloo)
+file(RENAME ${CURRENT_PACKAGES_DIR}/share/igloo/LICENSE_1_0.txt ${CURRENT_PACKAGES_DIR}/share/igloo/copyright) \ No newline at end of file