[New Port] Add tl-generator (#20385)

* Add tl-generator

* Format manifest and update versions

* Update versions

* Update ports/tl-generator/portfile.cmake

Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>

* Update ports/tl-generator/portfile.cmake

Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>

* Update ports/tl-generator/vcpkg.json

Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>

* Update ports/tl-generator/vcpkg.json

Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>

* Fixup version database.

Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
This commit is contained in:
Sy Brand 2021-09-29 01:32:06 +01:00 committed by GitHub
parent 33fb841fba
commit 33f02c0ae5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 43 additions and 0 deletions

View File

@ -0,0 +1,18 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO TartanLlama/generator
REF a8e421f04159199f6896b09cad2bd3c6fbb2a5fb
SHA512 bb00cc0b3224813c7837175d81d7a08627dfe7a2f52c0bb8125ec7c6e8018a0a856c94463105dd04e7e20b8af9afc57c1c7228e9119174a9e621e675f8a3b447
HEAD_REF master
)
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS
-DGENERATOR_BUILD_TESTS=OFF
)
vcpkg_cmake_install()
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug")
file(INSTALL "${SOURCE_PATH}/COPYING" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)

View File

@ -0,0 +1,12 @@
{
"name": "tl-generator",
"version-date": "2021-09-28",
"description": "Single-header, ranges-compatible generator type built on C++20 coroutines",
"homepage": "https://tl.tartanllama.xyz",
"dependencies": [
{
"name": "vcpkg-cmake",
"host": true
}
]
}

View File

@ -6612,6 +6612,10 @@
"baseline": "1.0.0",
"port-version": 2
},
"tl-generator": {
"baseline": "2021-09-28",
"port-version": 0
},
"tl-optional": {
"baseline": "1.0.0",
"port-version": 2

View File

@ -0,0 +1,9 @@
{
"versions": [
{
"git-tree": "aac3612e6eaa3c6a6618226a96888c5b21a76a06",
"version-date": "2021-09-28",
"port-version": 0
}
]
}