diff --git a/ports/task-thread-pool/portfile.cmake b/ports/task-thread-pool/portfile.cmake new file mode 100644 index 0000000000..f3476542cd --- /dev/null +++ b/ports/task-thread-pool/portfile.cmake @@ -0,0 +1,13 @@ +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO alugowski/task-thread-pool + REF v${VERSION} + SHA512 8f67e4d467c16bd0986f4fbfda6e7ca74760ddf3c4333660c764c97df0a21a40f36dc5af11c47f41e1cc0eb9c498ff2ca7b93a11a32dea296181592f5a05fd1d + HEAD_REF main +) + +file(GLOB HEADER_FILES LIST_DIRECTORIES false "${SOURCE_PATH}/include/*.hpp") + +file(INSTALL ${HEADER_FILES} DESTINATION "${CURRENT_PACKAGES_DIR}/include") + +vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE-BSD.txt" "${SOURCE_PATH}/LICENSE-Boost.txt" "${SOURCE_PATH}/LICENSE-MIT.txt") diff --git a/ports/task-thread-pool/vcpkg.json b/ports/task-thread-pool/vcpkg.json new file mode 100644 index 0000000000..b5cc94e867 --- /dev/null +++ b/ports/task-thread-pool/vcpkg.json @@ -0,0 +1,8 @@ +{ + "name": "task-thread-pool", + "version": "1.0.7", + "description": "Fast and lightweight thread pool for C++11 and newer.", + "homepage": "https://github.com/alugowski/task-thread-pool", + "documentation": "https://github.com/alugowski/task-thread-pool/blob/main/README.md", + "license": "BSD-2-Clause OR MIT OR BSL-1.0" +} diff --git a/versions/baseline.json b/versions/baseline.json index 9e750449e8..185025c157 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -7856,6 +7856,10 @@ "baseline": "9.21.2-0e30f5c", "port-version": 2 }, + "task-thread-pool": { + "baseline": "1.0.7", + "port-version": 0 + }, "taskflow": { "baseline": "3.6.0", "port-version": 0 diff --git a/versions/t-/task-thread-pool.json b/versions/t-/task-thread-pool.json new file mode 100644 index 0000000000..4cc180cdb5 --- /dev/null +++ b/versions/t-/task-thread-pool.json @@ -0,0 +1,9 @@ +{ + "versions": [ + { + "git-tree": "b64ff5ad8b40dbfe129aabe53f11b81ba71e4743", + "version": "1.0.7", + "port-version": 0 + } + ] +}