[fastio] Add fastio port file (#27813)

* [fastio] Add fastio port file

* Changes to be committed:
	modified:   ports/fastio/portfile.cmake
	modified:   ports/fastio/vcpkg.json

* Changes to be committed:
	modified:   versions/baseline.json

* add /versions/f-/fastio.json
This commit is contained in:
YexuanXiao 2022-11-30 05:10:37 +08:00 committed by GitHub
parent 6d6910d8cb
commit eaf5e9023d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 48 additions and 0 deletions

View File

@ -0,0 +1,18 @@
# header-only library
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO cppfastio/fast_io
REF 88c3c87290f07bd97b31c71fbd815b7d20ab66d9
SHA512 da356498797d2bc50671e5a12099e9a9c50f1f1c570cd7ed68ef32082e1778d86efeeddea57c84a116fb817572d9fbbd33d8e44fef6a38b760fcb8ab8edbe6ab
HEAD_REF master
)
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
)
vcpkg_cmake_install()
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug")
file(INSTALL "${SOURCE_PATH}/license.txt" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)

17
ports/fastio/vcpkg.json Normal file
View File

@ -0,0 +1,17 @@
{
"name": "fastio",
"version-date": "2022-11-14",
"description": "fast_io is an extremely fast C++20 input/output library aiming to replace <iostream> and <cstdio>. It supports networking, NT apis, pipe, filesystem, winrt hstring, Qt, OpenSSL, cryptography. It is freestanding and it works on any platform, including dos, win95, wasm, linux kernel, windows kernel or your own operating system kernel. It has no dependencies.",
"homepage": "https://github.com/cppfastio/fast_io",
"license": "MIT",
"dependencies": [
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
}
]
}

View File

@ -2264,6 +2264,10 @@
"baseline": "0.2.0",
"port-version": 0
},
"fastio": {
"baseline": "2022-11-14",
"port-version": 0
},
"fastlz": {
"baseline": "2021-05-10",
"port-version": 0

9
versions/f-/fastio.json Normal file
View File

@ -0,0 +1,9 @@
{
"versions": [
{
"git-tree": "03ff13377e65b89408d2b0eba2b7ad1f34201641",
"version-date": "2022-11-14",
"port-version": 0
}
]
}