aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/taskflow
diff options
context:
space:
mode:
authorEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
committerEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
commit54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch)
treed915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/taskflow
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/taskflow')
-rw-r--r--vcpkg/ports/taskflow/portfile.cmake27
-rw-r--r--vcpkg/ports/taskflow/vcpkg.json17
2 files changed, 44 insertions, 0 deletions
diff --git a/vcpkg/ports/taskflow/portfile.cmake b/vcpkg/ports/taskflow/portfile.cmake
new file mode 100644
index 0000000..c122faf
--- /dev/null
+++ b/vcpkg/ports/taskflow/portfile.cmake
@@ -0,0 +1,27 @@
+# header-only library
+vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO taskflow/taskflow
+ REF "v${VERSION}"
+ SHA512 b7919d9ed47a27d706c552944a2f92ce9dcb012983622f4d62a2226389fd4628658a7e1090804a5dc860f16a10a4e1b31802a4019722283ff7912aa2a7334d0e
+ HEAD_REF master
+)
+
+vcpkg_cmake_configure(
+ SOURCE_PATH "${SOURCE_PATH}"
+ OPTIONS
+ -DTF_BUILD_BENCHMARKS=OFF
+ -DTF_BUILD_CUDA=OFF
+ -DTF_BUILD_TESTS=OFF
+ -DTF_BUILD_EXAMPLES=OFF
+ -DCMAKE_CUDA_COMPILER=OFF
+)
+
+vcpkg_cmake_install()
+
+vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/Taskflow)
+
+file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug" "${CURRENT_PACKAGES_DIR}/lib")
+
+# Handle copyright
+vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
diff --git a/vcpkg/ports/taskflow/vcpkg.json b/vcpkg/ports/taskflow/vcpkg.json
new file mode 100644
index 0000000..140fe8a
--- /dev/null
+++ b/vcpkg/ports/taskflow/vcpkg.json
@@ -0,0 +1,17 @@
+{
+ "name": "taskflow",
+ "version": "3.10.0",
+ "description": "A General-purpose Task-parallel Programming System using Modern C++",
+ "homepage": "https://github.com/taskflow/taskflow",
+ "license": "MIT",
+ "dependencies": [
+ {
+ "name": "vcpkg-cmake",
+ "host": true
+ },
+ {
+ "name": "vcpkg-cmake-config",
+ "host": true
+ }
+ ]
+}