aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/fastio
diff options
context:
space:
mode:
authorEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
committerEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
commit54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch)
treed915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/fastio
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/fastio')
-rw-r--r--vcpkg/ports/fastio/portfile.cmake20
-rw-r--r--vcpkg/ports/fastio/vcpkg.json13
2 files changed, 33 insertions, 0 deletions
diff --git a/vcpkg/ports/fastio/portfile.cmake b/vcpkg/ports/fastio/portfile.cmake
new file mode 100644
index 0000000..996f53c
--- /dev/null
+++ b/vcpkg/ports/fastio/portfile.cmake
@@ -0,0 +1,20 @@
+# header-only library
+vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO cppfastio/fast_io
+ REF dd78867b7ae27da71c2e6d5d4f543066c301c047
+ SHA512 7376b4f2420c6b21d1b81f693a067c43ca16ad3110a53893687e1715acfdfa4d41604fb1d13c1537809a9f14321cfae6829f56a10bdceba72926feb45ec9d0a3
+ HEAD_REF master
+)
+
+set(VCPKG_BUILD_TYPE release) # header-only port
+
+vcpkg_cmake_configure(
+ SOURCE_PATH "${SOURCE_PATH}"
+)
+
+vcpkg_cmake_install()
+
+file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/lib")
+
+vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/license.txt")
diff --git a/vcpkg/ports/fastio/vcpkg.json b/vcpkg/ports/fastio/vcpkg.json
new file mode 100644
index 0000000..5af20b1
--- /dev/null
+++ b/vcpkg/ports/fastio/vcpkg.json
@@ -0,0 +1,13 @@
+{
+ "name": "fastio",
+ "version-date": "2024-12-05",
+ "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
+ }
+ ]
+}