mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-28 03:09:02 +08:00
[cpp-taskflow] Add new port
This commit is contained in:
parent
09103d12a0
commit
724ed8cf4e
3
ports/cpp-taskflow/CONTROL
Normal file
3
ports/cpp-taskflow/CONTROL
Normal file
@ -0,0 +1,3 @@
|
||||
Source: cpp-taskflow
|
||||
Version: 2018-11-30
|
||||
Description: Fast Parallel Tasking Programming Library using Modern C++.
|
29
ports/cpp-taskflow/portfile.cmake
Normal file
29
ports/cpp-taskflow/portfile.cmake
Normal file
@ -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)
|
Loading…
Reference in New Issue
Block a user