diff options
| author | Phil Christensen <philc@microsoft.com> | 2018-12-04 15:02:38 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-12-04 15:02:38 -0800 |
| commit | 8f6e2303f5d0fc80236888d7628ba291b5157141 (patch) | |
| tree | 6fcef3fb83c1e18fb00541a256a45c5def09b2fc /ports/cpp-taskflow | |
| parent | 7da86a7fbcb2d5c92bbd0f7196d4428bdbabb7e0 (diff) | |
| parent | b86573f9c18210212e61ae816134e7064dfd5023 (diff) | |
| download | vcpkg-8f6e2303f5d0fc80236888d7628ba291b5157141.tar.gz vcpkg-8f6e2303f5d0fc80236888d7628ba291b5157141.zip | |
Merge pull request #4867 from myd7349/cpp-taskflow
[cpp-taskflow] Add new port
Diffstat (limited to 'ports/cpp-taskflow')
| -rw-r--r-- | ports/cpp-taskflow/CONTROL | 3 | ||||
| -rw-r--r-- | ports/cpp-taskflow/portfile.cmake | 29 |
2 files changed, 32 insertions, 0 deletions
diff --git a/ports/cpp-taskflow/CONTROL b/ports/cpp-taskflow/CONTROL new file mode 100644 index 000000000..4abf5457f --- /dev/null +++ b/ports/cpp-taskflow/CONTROL @@ -0,0 +1,3 @@ +Source: cpp-taskflow
+Version: 2018-11-30
+Description: Fast Parallel Tasking Programming Library using Modern C++.
diff --git a/ports/cpp-taskflow/portfile.cmake b/ports/cpp-taskflow/portfile.cmake new file mode 100644 index 000000000..1f596f0d4 --- /dev/null +++ b/ports/cpp-taskflow/portfile.cmake @@ -0,0 +1,29 @@ +# header-only library
+
+include(vcpkg_common_functions)
+
+vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO cpp-taskflow/cpp-taskflow
+ REF 97252f7d782c6e896122645175c08131ce10e649
+ SHA512 df8ae9ea449663cb548f3c37346c2e0c785add2d86b9c618aea2741d81fe88c34b0d3d0e610a4b571973f9bc18631becedfe28e029ecf0c0cc87e4c35a280a29
+ HEAD_REF master
+)
+
+vcpkg_configure_cmake(
+ SOURCE_PATH ${SOURCE_PATH}
+ PREFER_NINJA
+ OPTIONS
+ -DTF_BUILD_EXAMPLES=OFF
+ -DTF_BUILD_TESTS=OFF
+ -DTF_BUILD_BENCHMARKS=OFF
+)
+
+vcpkg_install_cmake()
+
+vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake)
+
+file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug ${CURRENT_PACKAGES_DIR}/lib)
+
+# Handle copyright
+configure_file(${SOURCE_PATH}/LICENSE ${CURRENT_PACKAGES_DIR}/share/cpp-taskflow/copyright COPYONLY)
|
