aboutsummaryrefslogtreecommitdiff
path: root/ports
diff options
context:
space:
mode:
authorbrukted <40060643+brukted@users.noreply.github.com>2020-10-13 01:21:54 +0300
committerGitHub <noreply@github.com>2020-10-12 15:21:54 -0700
commit96cc69fdbda8ce2a859f76fc4e1302fc23b0ee87 (patch)
tree3d405f87a4af95ebd6a235df7a656a8994bf3951 /ports
parentf6ce6eb4037cf52be35b418e72445e83fa3e4554 (diff)
downloadvcpkg-96cc69fdbda8ce2a859f76fc4e1302fc23b0ee87.tar.gz
vcpkg-96cc69fdbda8ce2a859f76fc4e1302fc23b0ee87.zip
[sltbench] Add new port (#13886)
* add sltbench port * [sltbench] Fix static build
Diffstat (limited to 'ports')
-rw-r--r--ports/sltbench/portfile.cmake19
-rw-r--r--ports/sltbench/vcpkg.json6
2 files changed, 25 insertions, 0 deletions
diff --git a/ports/sltbench/portfile.cmake b/ports/sltbench/portfile.cmake
new file mode 100644
index 000000000..2111c896b
--- /dev/null
+++ b/ports/sltbench/portfile.cmake
@@ -0,0 +1,19 @@
+vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
+
+vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO ivafanas/sltbench
+ REF 52c7c7852abc3159185eb79e699ad77fadfc35bd
+ SHA512 0c66b51f5a950a09df47019775941554538bc3642788f61aaf8c5ec3644d5fef721391f73c3fddfd9529159f9b81c7d7ed76c7995a79f37adaf8d0ff55a99d4b
+ HEAD_REF master)
+
+vcpkg_configure_cmake(SOURCE_PATH ${SOURCE_PATH})
+vcpkg_install_cmake()
+vcpkg_copy_pdbs()
+vcpkg_fixup_cmake_targets(CONFIG_PATH cmake/ TARGET_PATH share/sltbench)
+
+file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
+file(
+ INSTALL ${SOURCE_PATH}/LICENSE
+ DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT}
+ RENAME copyright)
diff --git a/ports/sltbench/vcpkg.json b/ports/sltbench/vcpkg.json
new file mode 100644
index 000000000..efa7c527f
--- /dev/null
+++ b/ports/sltbench/vcpkg.json
@@ -0,0 +1,6 @@
+{
+ "name": "sltbench",
+ "version-string": "2.4.0",
+ "description": "C++ benchmark tool. Practical, stable and fast performance testing framework.",
+ "homepage": "https://github.com/ivafanas/sltbench"
+}