diff options
Diffstat (limited to 'vcpkg/ports/bshoshany-thread-pool')
| -rw-r--r-- | vcpkg/ports/bshoshany-thread-pool/portfile.cmake | 13 | ||||
| -rw-r--r-- | vcpkg/ports/bshoshany-thread-pool/vcpkg.json | 9 |
2 files changed, 22 insertions, 0 deletions
diff --git a/vcpkg/ports/bshoshany-thread-pool/portfile.cmake b/vcpkg/ports/bshoshany-thread-pool/portfile.cmake new file mode 100644 index 0000000..9199434 --- /dev/null +++ b/vcpkg/ports/bshoshany-thread-pool/portfile.cmake @@ -0,0 +1,13 @@ +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO bshoshany/thread-pool + REF "v${VERSION}" + SHA512 ba118decce074a3bbd004dcd3d2ee233b629c6f7b452e6e81700107f22c1b426931121b03e6497c1e3035dfdc6631080ebb539201fcbe1c3a8e919210d3ebf91 + HEAD_REF master +) + +file(INSTALL "${SOURCE_PATH}/include/BS_thread_pool.hpp" DESTINATION "${CURRENT_PACKAGES_DIR}/include") + +file(INSTALL "${SOURCE_PATH}/modules/BS.thread_pool.cppm" DESTINATION "${CURRENT_PACKAGES_DIR}/modules") + +file(INSTALL "${SOURCE_PATH}/LICENSE.txt" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright) diff --git a/vcpkg/ports/bshoshany-thread-pool/vcpkg.json b/vcpkg/ports/bshoshany-thread-pool/vcpkg.json new file mode 100644 index 0000000..e921ccf --- /dev/null +++ b/vcpkg/ports/bshoshany-thread-pool/vcpkg.json @@ -0,0 +1,9 @@ +{ + "name": "bshoshany-thread-pool", + "version": "5.0.0", + "maintainers": "Barak Shoshany <baraksh@gmail.com>", + "description": "BS::thread_pool: a fast, lightweight, modern, and easy-to-use C++17 / C++20 / C++23 thread pool library", + "homepage": "https://github.com/bshoshany/thread-pool", + "documentation": "https://github.com/bshoshany/thread-pool/blob/master/README.md", + "license": "MIT" +} |