mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-06-07 18:32:47 +08:00
[transwarp] add a new port (#18069)
* [transwarp] Add a new port, transwarp, a header-only C++ library for task concurrency. * Update ports/transwarp/portfile.cmake * Update ports/transwarp/portfile.cmake * Update ports/transwarp/portfile.cmake * Update versions/t-/transwarp.json Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>
This commit is contained in:
parent
f519430b0f
commit
ab9e4a235f
19
ports/transwarp/portfile.cmake
Normal file
19
ports/transwarp/portfile.cmake
Normal file
@ -0,0 +1,19 @@
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO bloomen/transwarp
|
||||
REF 2.2.2
|
||||
SHA512 32e5dce698bff565f98ac73e7a4213858f5024003f01d798a6f7eb99289f192dd56b45c975c0e42be36e28e0b828c9810f5d27e62312649606b78ec93e4afae4
|
||||
HEAD_REF master
|
||||
)
|
||||
|
||||
vcpkg_cmake_configure(
|
||||
SOURCE_PATH ${SOURCE_PATH}
|
||||
)
|
||||
|
||||
vcpkg_cmake_install()
|
||||
vcpkg_copy_pdbs()
|
||||
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug")
|
||||
|
||||
# Handle copyright
|
||||
file(INSTALL ${SOURCE_PATH}/LICENSE.md DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
|
13
ports/transwarp/vcpkg.json
Normal file
13
ports/transwarp/vcpkg.json
Normal file
@ -0,0 +1,13 @@
|
||||
{
|
||||
"name": "transwarp",
|
||||
"version": "2.2.2",
|
||||
"description": "A header-only C++ library for task concurrency",
|
||||
"homepage": "https://github.com/bloomen/transwarp",
|
||||
"license": "MIT",
|
||||
"dependencies": [
|
||||
{
|
||||
"name": "vcpkg-cmake",
|
||||
"host": true
|
||||
}
|
||||
]
|
||||
}
|
@ -6160,6 +6160,10 @@
|
||||
"baseline": "2019-04-19-2",
|
||||
"port-version": 0
|
||||
},
|
||||
"transwarp": {
|
||||
"baseline": "2.2.2",
|
||||
"port-version": 0
|
||||
},
|
||||
"trantor": {
|
||||
"baseline": "1.4.1",
|
||||
"port-version": 0
|
||||
|
9
versions/t-/transwarp.json
Normal file
9
versions/t-/transwarp.json
Normal file
@ -0,0 +1,9 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "2e60fb56dd71cbc0d75dfb0bc253ec4ab5b12e8e",
|
||||
"version": "2.2.2",
|
||||
"port-version": 0
|
||||
}
|
||||
]
|
||||
}
|
Loading…
Reference in New Issue
Block a user