mirror of https://github.com/microsoft/vcpkg.git
[toomanycooks] add new port 1.5.0 (#51825)
Co-authored-by: Kai Pastor <dg0yt@darc.de>
This commit is contained in:
parent
22d9c655dc
commit
9c8fdb050b
|
|
@ -0,0 +1,29 @@
|
|||
set(VCPKG_BUILD_TYPE release) # header-only port
|
||||
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO tzcnt/TooManyCooks
|
||||
REF e3e1e5f399a9c02ad3665ad87b181e868ce8f8c0
|
||||
SHA512 17e0aff92c848009793f4712202764e3d0ec2ed388a8b807cc31e12977b1dc2bdf9f2ac67177c9dc1bfac2691c721eecbef8bfffeb79539d0d48464697da539d
|
||||
HEAD_REF main
|
||||
)
|
||||
|
||||
vcpkg_cmake_configure(
|
||||
SOURCE_PATH "${SOURCE_PATH}"
|
||||
OPTIONS
|
||||
-DTMC_USE_HWLOC=ON
|
||||
-DTMC_USE_BOOST_ASIO=ON
|
||||
)
|
||||
|
||||
vcpkg_cmake_install()
|
||||
vcpkg_cmake_config_fixup(PACKAGE_NAME TooManyCooks CONFIG_PATH lib/cmake/TooManyCooks)
|
||||
|
||||
file(REMOVE_RECURSE
|
||||
"${CURRENT_PACKAGES_DIR}/debug"
|
||||
"${CURRENT_PACKAGES_DIR}/lib"
|
||||
"${CURRENT_PACKAGES_DIR}/licenses"
|
||||
)
|
||||
|
||||
file(INSTALL "${CMAKE_CURRENT_LIST_DIR}/usage" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}")
|
||||
|
||||
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
|
||||
|
|
@ -0,0 +1,8 @@
|
|||
toomanycooks provides CMake targets:
|
||||
|
||||
find_package(TooManyCooks CONFIG REQUIRED)
|
||||
target_link_libraries(main PRIVATE TooManyCooks::TooManyCooks)
|
||||
|
||||
Additional configurations, including replacing the boost-asio backend with standalone asio,
|
||||
are available via the overlay port located in the library repo:
|
||||
https://github.com/tzcnt/TooManyCooks/tree/main/ports/toomanycooks
|
||||
|
|
@ -0,0 +1,21 @@
|
|||
{
|
||||
"name": "toomanycooks",
|
||||
"version": "1.5.0",
|
||||
"description": "The C++20 coroutine framework with no compromises. Excellent performance, simple syntax, and powerful features.",
|
||||
"homepage": "https://github.com/tzcnt/TooManyCooks",
|
||||
"documentation": "https://fleetcode.com/oss/tmc/docs",
|
||||
"license": "BSL-1.0",
|
||||
"supports": "!uwp & !android",
|
||||
"dependencies": [
|
||||
"boost-asio",
|
||||
"hwloc",
|
||||
{
|
||||
"name": "vcpkg-cmake",
|
||||
"host": true
|
||||
},
|
||||
{
|
||||
"name": "vcpkg-cmake-config",
|
||||
"host": true
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
@ -10192,6 +10192,10 @@
|
|||
"baseline": "1.0.1",
|
||||
"port-version": 0
|
||||
},
|
||||
"toomanycooks": {
|
||||
"baseline": "1.5.0",
|
||||
"port-version": 0
|
||||
},
|
||||
"torch-th": {
|
||||
"baseline": "2019-04-19",
|
||||
"port-version": 6
|
||||
|
|
|
|||
|
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "b298f7e7678fc4a7c2d3478e50f090d714a80e32",
|
||||
"version": "1.5.0",
|
||||
"port-version": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
Loading…
Reference in New Issue